browsertrix/backend/btrixcloud/operator
Ilya Kreymer 7fa2b61b29
Execution time tracking tweaks (#1994)
Tweaks to how execution time is tracked for more accuracy + excluding
waiting states:
- don't update if crawl state is in a 'waiting state' (waiting for
capacity or waiting for org limit)
- rename start states -> waiting states for clarity
- reset lastUpdatedTime if two consecutive updates of non-running state,
to ensure non-running states don't count, but also account for
occasional hiccups -- if only one update detects non-running state,
don't reset
- webhooks: move start webhook to when crawl actually starts for first
time (db lastUpdatedTime is not yet + crawl is running)
- don't set lastUpdatedTime until pods actually running
- set crawljob update interval to every 10 seconds for more accurate
execution time tracking
- frontend: show seconds in 'Execution Time' display
2024-08-06 09:44:44 -07:00
..
__init__.py
baseoperator.py optimize org quota lookups (#1973) 2024-07-25 14:00:16 -07:00
bgjobs.py
crawls.py Execution time tracking tweaks (#1994) 2024-08-06 09:44:44 -07:00
cronjobs.py Fix for cronjob skipping response (#1976) 2024-07-29 12:24:18 -07:00
models.py Execution time tracking tweaks (#1994) 2024-08-06 09:44:44 -07:00
profiles.py