mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix: even less more slow for persistence task (#31657)
This commit is contained in:
@@ -28,12 +28,12 @@ REPLAY_NEEDS_PERSISTENCE_V2_COUNTER = Counter(
|
||||
)
|
||||
|
||||
|
||||
@shared_task(ignore_result=True, queue=CeleryQueue.SESSION_REPLAY_PERSISTENCE.value, rate_limit="15/m")
|
||||
@shared_task(ignore_result=True, queue=CeleryQueue.SESSION_REPLAY_PERSISTENCE.value, rate_limit="30/m")
|
||||
def persist_single_recording(id: str, team_id: int) -> None:
|
||||
persist_recording(id, team_id)
|
||||
|
||||
|
||||
@shared_task(ignore_result=True, queue=CeleryQueue.SESSION_REPLAY_PERSISTENCE.value, rate_limit="15/m")
|
||||
@shared_task(ignore_result=True, queue=CeleryQueue.SESSION_REPLAY_PERSISTENCE.value, rate_limit="30/m")
|
||||
def persist_single_recording_v2(id: str, team_id: int) -> None:
|
||||
persist_recording_v2(id, team_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user