summaryrefslogtreecommitdiff
path: root/src/srht_contrib/scripts/enqueue_actors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/srht_contrib/scripts/enqueue_actors.py')
-rw-r--r--src/srht_contrib/scripts/enqueue_actors.py4
1 files changed, 2 insertions, 2 deletions
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()