browsertrix/backend/btrixcloud/swarm
Ilya Kreymer 2717a60763
improvements / bug fixes for stop/cancel handling: (#279)
- only send signal if stopping, no need for canceling as pods/containers will be removed
- refactor stop/cancel handling to be unified in manager, separate in job
- when stopping / graceful shutdown, return false if sending signal fails
- return success=true in json response if and only if stop/cancel actually succeeds, return 'error' message in error, should fix #270
- allow canceling after stopping / if stopping fails
- ensure finished time is set in case of cancelation before crawl starts, should fix #273
2022-06-29 17:47:25 -07:00
..
templates Single config and env vars (#267) 2022-06-16 21:50:03 -07:00
__init__.py
base_job.py Single config and env vars (#267) 2022-06-16 21:50:03 -07:00
crawl_job.py improvements / bug fixes for stop/cancel handling: (#279) 2022-06-29 17:47:25 -07:00
profile_job.py
swarmmanager.py improvements / bug fixes for stop/cancel handling: (#279) 2022-06-29 17:47:25 -07:00
utils.py Local swarm + podman support (#261) 2022-06-14 00:13:49 -07:00