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", "")