Skip to content

Commit

Permalink
dev: Don't schedule stale subscriptions in dev (#2776)
Browse files Browse the repository at this point in the history
The goal of this change is to match our dev environment configuration
more closely with prod (by skipping stale subscriptions beyond 15 minutes).
  • Loading branch information
lynnagara authored Jun 1, 2022
1 parent bd2222e commit cba5b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snuba/cli/devserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--log-level=debug",
"--delay-seconds=1",
"--schedule-ttl=10",
"--stale-threshold-seconds=900",
],
),
(
Expand All @@ -137,6 +138,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--log-level=debug",
"--delay-seconds=1",
"--schedule-ttl=10",
"--stale-threshold-seconds=900",
],
),
]
Expand Down

0 comments on commit cba5b76

Please sign in to comment.