Skip to content

Commit

Permalink
fix: Temporarily disable deliver subscription report task (#19814)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh authored Jan 17, 2024
1 parent 5254cc7 commit 1e42154
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ee/tasks/subscriptions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from datetime import datetime, timedelta
from typing import Optional

from django.conf import settings
import structlog
from prometheus_client import Counter
from sentry_sdk import capture_exception, capture_message
Expand Down Expand Up @@ -146,6 +147,8 @@ def schedule_all_subscriptions() -> None:

@app.task()
def deliver_subscription_report(subscription_id: int) -> None:
if not settings.TEST:
return
return _deliver_subscription_report(subscription_id)


Expand Down

0 comments on commit 1e42154

Please sign in to comment.