Skip to content

Commit

Permalink
feat: Bump default lookback days to 7 (#23494)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias authored Jul 9, 2024
1 parent 78ca1ec commit 0b15c29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions posthog/settings/temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
BATCH_EXPORT_HTTP_BATCH_SIZE: int = 1000

UNCONSTRAINED_TIMESTAMP_TEAM_IDS: list[str] = get_list(os.getenv("UNCONSTRAINED_TIMESTAMP_TEAM_IDS", ""))
UNCONSTRAINED_TIMESTAMP_TEAM_IDS = get_list(os.getenv("UNCONSTRAINED_TIMESTAMP_TEAM_IDS", ""))
DEFAULT_TIMESTAMP_LOOKBACK_DAYS = 4
DEFAULT_TIMESTAMP_LOOKBACK_DAYS = 7
# Comma separated list of overrides in the format "team_id:lookback_days"
OVERRIDE_TIMESTAMP_TEAM_IDS: dict[int, int] = dict(
[map(int, o.split(":")) for o in os.getenv("OVERRIDE_TIMESTAMP_TEAM_IDS", "").split(",") if o] # type: ignore
Expand Down

0 comments on commit 0b15c29

Please sign in to comment.