Skip to content

Commit

Permalink
make it a list
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Jun 20, 2024
1 parent a7b678b commit 0ac5cb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/settings/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def add_recorder_js_headers(headers, path, url):
# We keep the number of buckets low to reduce resource usage on the Prometheus
PROMETHEUS_LATENCY_BUCKETS = [0.1, 0.3, 0.9, 2.7, 8.1, float("inf")]

SALT_KEY = os.getenv("SALT_KEY", "0123456789abcdefghijklmnopqrstuvwxyz")
SALT_KEY = get_list(os.getenv("SALT_KEY", "0123456789abcdefghijklmnopqrstuvwxyz"))

# temporary flag to control new UUID version setting in posthog-js
# is set to v7 to test new generation but can be set to "og" to revert
Expand Down
1 change: 1 addition & 0 deletions posthog/warehouse/data_load/validate_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ async def validate_schema_and_update_table(
# create or update
table_created: DataWarehouseTable | None = await get_table_by_schema_id(_schema_id, team_id)
if table_created:
table_created.credential = data.get("credential")
table_created.url_pattern = new_url_pattern
if incremental:
table_created.row_count = await sync_to_async(table_created.get_count)()
Expand Down

0 comments on commit 0ac5cb3

Please sign in to comment.