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

SQLite cache: Use requests_cache.CachedSession for better concurrency #130

Merged
merged 1 commit into from
Mar 31, 2024

Commits on Mar 29, 2024

  1. SQLite cache: Use requests_cache.CachedSession for better concurrency

    Users on Apple M2 Max reported DB lock errors:
    
    [grafana_wtf.core]
      INFO: Fetching dashboards in parallel with 5 concurrent requests
    
    [requests_cache.backends.sqlite]
      WARNING: Database is locked in thread 6272069632; retrying (1/3)
    
    Also segmentation faults, and leaks:
    
      UserWarning: resource_tracker: There appear to be 1 leaked semaphore
      objects to clean up at shutdown
    amotl committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    5583ae0 View commit details
    Browse the repository at this point in the history