From be1967384213d9bf3f7b773af6732fe631f455ac Mon Sep 17 00:00:00 2001 From: Ben White Date: Thu, 22 Feb 2024 15:23:29 +0000 Subject: [PATCH] Fixes --- posthog/session_recordings/realtime_snapshots.py | 2 -- posthog/settings/session_replay.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/posthog/session_recordings/realtime_snapshots.py b/posthog/session_recordings/realtime_snapshots.py index 6c29ed59758d3..d6890c63517e1 100644 --- a/posthog/session_recordings/realtime_snapshots.py +++ b/posthog/session_recordings/realtime_snapshots.py @@ -1,14 +1,12 @@ import json from time import sleep from typing import Dict, List, Optional -import requests import structlog from prometheus_client import Counter from posthog import settings from posthog.redis import get_client -from posthog.settings import RECORDINGS_INGESTER_URL from sentry_sdk import capture_exception logger = structlog.get_logger(__name__) diff --git a/posthog/settings/session_replay.py b/posthog/settings/session_replay.py index b2e69c4bace05..7c349c19403ab 100644 --- a/posthog/settings/session_replay.py +++ b/posthog/settings/session_replay.py @@ -24,4 +24,4 @@ REPLAY_EMBEDDINGS_ALLOWED_TEAMS: List[str] = get_list(get_from_env("REPLAY_EMBEDDINGS_ALLOWED_TEAM", "", type_cast=str)) -RECORDINGS_INGESTER_URL = get_from_env("RECORDINGS_INGESTER_URL", None) +RECORDINGS_INGESTER_URL = get_from_env("RECORDINGS_INGESTER_URL", "")