From 6289a28296bd0863d373bb47c1c85038f4bc6a2b Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 6 May 2026 23:19:54 -0500 Subject: feat: improve scheduled indexing throughput and capped backoff --- src/srht_contrib/scripts/enqueue_actors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/srht_contrib/scripts/enqueue_actors.py') diff --git a/src/srht_contrib/scripts/enqueue_actors.py b/src/srht_contrib/scripts/enqueue_actors.py index 03f1f9b..bd838cb 100644 --- a/src/srht_contrib/scripts/enqueue_actors.py +++ b/src/srht_contrib/scripts/enqueue_actors.py @@ -40,7 +40,7 @@ def _iter_usernames(path: Path) -> list[str]: return usernames -def enqueue_actors(username_file: Path, *, stagger_seconds: int = 300, start_at: datetime | None = None) -> int: +def enqueue_actors(username_file: Path, *, stagger_seconds: int = 60, start_at: datetime | None = None) -> int: settings = Settings() session_factory = make_session_factory(settings) usernames = _iter_usernames(username_file) @@ -95,7 +95,7 @@ def main() -> None: parser.add_argument( "--stagger-seconds", type=int, - default=300, + default=60, help="Seconds to space out each actor's first eligible poll time.", ) args = parser.parse_args() -- cgit v1.2.3