quickfix: fix stopping crawls with current browsertrix-crawler beta

This commit is contained in:
Ilya Kreymer 2023-05-06 23:32:29 -07:00
parent b40d599e17
commit 064cd7e08a

View File

@ -391,7 +391,7 @@ class BtrixOperator(K8sAPI):
) )
if crawl.stopping: if crawl.stopping:
await redis.set(f"{crawl.id}:crawl-stop", "1") await redis.set("crawl-stop", "1")
# optimization: don't update db once crawl is already running # optimization: don't update db once crawl is already running
# will set stats at when crawl is finished, otherwise can read # will set stats at when crawl is finished, otherwise can read