Skip to content

OperationalError: canceling statement due to statement timeout #6412

@sentry

Description

@sentry

Sentry Issue: FLAGSMITH-API-5EX

QueryCanceled: canceling statement due to statement timeout

  File "django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)

OperationalError: canceling statement due to statement timeout

(14 additional frame(s) were not displayed)
...
  File "organisations/tasks.py", line 91, in update_organisation_subscription_information_influx_cache_recurring
    update_organisation_subscription_information_influx_cache()  # pragma: no cover
  File "organisations/tasks.py", line 96, in update_organisation_subscription_information_influx_cache
    subscription_info_cache.update_caches((SubscriptionCacheEntity.INFLUX,))
  File "organisations/subscription_info_cache.py", line 51, in update_caches
    OrganisationSubscriptionInformationCache.objects.bulk_update(

Failed to execute task 'tasks.update_organisation_subscription_information_influx_cache_recurring', with id 268. Exception: canceling statement due to statement timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions