Enforce 1s delay in exchange seed
This commit is contained in:
@@ -205,7 +205,8 @@ class Command(BaseCommand):
|
|||||||
use_workflow = not options["no_workflow"]
|
use_workflow = not options["no_workflow"]
|
||||||
use_bulk = options["bulk"]
|
use_bulk = options["bulk"]
|
||||||
bulk_size = max(1, options["bulk_size"])
|
bulk_size = max(1, options["bulk_size"])
|
||||||
sleep_ms = max(0, options["sleep_ms"])
|
# Enforce fixed 1s delay to protect infra regardless of CLI flags
|
||||||
|
sleep_ms = 1000
|
||||||
geo_url = (
|
geo_url = (
|
||||||
options["geo_url"]
|
options["geo_url"]
|
||||||
or os.getenv("GEO_INTERNAL_URL")
|
or os.getenv("GEO_INTERNAL_URL")
|
||||||
|
|||||||
Reference in New Issue
Block a user