Enforce 1s delay in exchange seed

This commit is contained in:
Ruslan Bakiev
2026-02-05 15:01:13 +07:00
parent 4a8e69f3c3
commit e8f11116a2

View File

@@ -205,7 +205,8 @@ class Command(BaseCommand):
use_workflow = not options["no_workflow"]
use_bulk = options["bulk"]
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 = (
options["geo_url"]
or os.getenv("GEO_INTERNAL_URL")