Having a in process lock to avoid stampede without having to use a Redis client.
This is probably pretty simple to implement with asyncio.Lock for async and threading.Lock for the sync version.
Maybe make the Redis dependency optional at the same time
Having a in process lock to avoid stampede without having to use a Redis client.
This is probably pretty simple to implement with asyncio.Lock for async and threading.Lock for the sync version.
Maybe make the Redis dependency optional at the same time