browsertrix/backend/btrixcloud/operator
Ilya Kreymer 6df10d5fb0
Improved Scale Handling (#1889)
Fixes #1888 

Refactors scale handling:
- Ensures number of scaled instances does not exceed number of pages,
but is also at minimum 1
- Checks for finish condition to be numFailed + numDone >= desired scale
- If at least one instance succeeds, crawl considers successful / done.
- If all instances fail, crawl considered failed
- Ensures that pod done count >= redis done count

---------
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2024-06-26 10:24:45 -07:00
..
__init__.py
baseoperator.py include workflow config in QA runs + different browser instances for QA (#1829) 2024-05-29 13:32:25 -07:00
bgjobs.py
crawls.py Improved Scale Handling (#1889) 2024-06-26 10:24:45 -07:00
cronjobs.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
models.py operator state fixes (follow up fomr #1639) (#1640) 2024-03-29 15:12:16 -07:00
profiles.py