Skip to content

Commit

Permalink
even more
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 27, 2023
1 parent bd316ed commit 3ef80d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions frontend/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,12 +665,8 @@ export interface SessionRecordingSnapshotSource {
}

export interface SessionRecordingSnapshotResponse {
// Future interface
sources?: SessionRecordingSnapshotSource[]
snapshots?: EncodedRecordingSnapshot[]

// legacy interface
next?: string
}

export type RecordingSnapshot = eventWithTime & {
Expand All @@ -680,7 +676,6 @@ export type RecordingSnapshot = eventWithTime & {
export interface SessionPlayerSnapshotData {
snapshots?: RecordingSnapshot[]
sources?: SessionRecordingSnapshotSource[]
next?: string
blob_keys?: string[]
}

Expand Down
6 changes: 2 additions & 4 deletions posthog/settings/ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@
"PARTITION_KEY_BUCKET_REPLENTISH_RATE", type_cast=float, default=1.0
)

REPLAY_EVENT_MAX_SIZE = get_from_env("REPLAY_EVENT_MAX_SIZE", type_cast=int, default=1024 * 512) # 512kb

REPLAY_RETENTION_DAYS_MIN = 30
REPLAY_RETENTION_DAYS_MAX = 90
REPLAY_RETENTION_DAYS_MIN = get_from_env("REPLAY_RETENTION_DAYS_MIN", type_cast=int, default=30)
REPLAY_RETENTION_DAYS_MAX = get_from_env("REPLAY_RETENTION_DAYS_MAX", type_cast=int, default=90)

0 comments on commit 3ef80d4

Please sign in to comment.