Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Async get event cache prep #13242

Merged
merged 15 commits into from
Jul 15, 2022
Merged

Commits on Jul 11, 2022

  1. Add AsyncLruCache class

    This acts as an async wrapper around `LruCache` making it possible to
    build new cache classes that perform asynchronous IO with external systems.
    Fizzadar committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    d72e8fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cf8025 View commit details
    Browse the repository at this point in the history
  3. Use AsyncLruCache for the get events cache

    This doesn't change function of the cache at all but prepares for the
    possibility of external backed, or combination external/local backed,
    event cache.
    
    This does separate the cache invalidation into two options: the local
    in memory cache and any asynchronous cache (which is currently the
    same thing). This means that the worker invalidating objects on changes
    must call the async method and the local method is reserved for
    invalidations received over replication.
    Fizzadar committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    680f931 View commit details
    Browse the repository at this point in the history
  4. Add changelog file

    Fizzadar committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    27b25e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    037d84f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec33b99 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f04a949 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b064024 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    856f286 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    69cd477 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a187d9a View commit details
    Browse the repository at this point in the history
  8. Linting

    Fizzadar committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    c7250b4 View commit details
    Browse the repository at this point in the history
  9. Make AsyncLruCache.clear an async method

    Only used in tests but now is consistent with the rest of the API.
    Fizzadar committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    8e06803 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    c476c3b View commit details
    Browse the repository at this point in the history
  2. Update lrucache.py

    richvdh committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    66c1b79 View commit details
    Browse the repository at this point in the history