Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: dictionary changed size during iteration #4562

Closed
sentry-io bot opened this issue Aug 30, 2024 · 0 comments · Fixed by #4567
Closed

RuntimeError: dictionary changed size during iteration #4562

sentry-io bot opened this issue Aug 30, 2024 · 0 comments · Fixed by #4567
Assignees
Labels
api Issue related to the REST API bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 30, 2024

Sentry Issue: FLAGSMITH-API-4WZ

RuntimeError: dictionary changed size during iteration
  File "app_analytics/middleware.py", line 55, in __call__
    api_usage_cache.track_request(**kwargs)
  File "app_analytics/cache.py", line 37, in track_request
    self._flush()
  File "app_analytics/cache.py", line 17, in _flush
    for key, value in self._cache.items():
@sentry-io sentry-io bot added api Issue related to the REST API bug Something isn't working labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant