browsertrix/backend/btrixcloud/operator
Ilya Kreymer 001839a521
Fix max pages quota setting and display (#2370)
- add ensure_page_limit_quotas() which sets the config limit to the max
pages quota, if any
- set the page limit on the config when: creating new crawl, creating
configmap
- don't set the quota page limit on new or existing crawl workflows
(remove setting it on new workflows) to allow updated quotas to take
affect for next crawl
- frontend: correctly display page limit on workflow settings page from
org quotas, if any.
- operator: get org on each sync in one place
- fixes #2369

---------

Co-authored-by: sua yoo <sua@webrecorder.org>
2025-02-10 16:15:21 -08:00
..
__init__.py Reformat with Black for 2025 ruleset (#2349) 2025-01-29 16:57:06 -05:00
baseoperator.py Reformat with Black for 2025 ruleset (#2349) 2025-01-29 16:57:06 -05:00
bgjobs.py Reformat with Black for 2025 ruleset (#2349) 2025-01-29 16:57:06 -05:00
crawls.py Fix max pages quota setting and display (#2370) 2025-02-10 16:15:21 -08:00
cronjobs.py Fix max pages quota setting and display (#2370) 2025-02-10 16:15:21 -08:00
models.py Fix max pages quota setting and display (#2370) 2025-02-10 16:15:21 -08:00
profiles.py Reformat with Black for 2025 ruleset (#2349) 2025-01-29 16:57:06 -05:00