Skip to content

Commit

Permalink
Fix cohort calculation with custom CALCULATE_X_COHORTS_PARALLEL (#5672
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Twixes authored Aug 20, 2021
1 parent 4afe599 commit 3a2a5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_list(text: str) -> List[str]:

SELF_CAPTURE = get_from_env("SELF_CAPTURE", DEBUG, type_cast=str_to_bool)
USE_PRECALCULATED_CH_COHORT_PEOPLE = not TEST
CALCULATE_X_COHORTS_PARALLEL = get_from_env("CALCULATE_X_COHORTS_PARALLEL", 2)
CALCULATE_X_COHORTS_PARALLEL = get_from_env("CALCULATE_X_COHORTS_PARALLEL", 2, type_cast=int)

SITE_URL = os.getenv("SITE_URL", "http://localhost:8000").rstrip("/")

Expand Down

0 comments on commit 3a2a5ec

Please sign in to comment.