-
Matt Robenolt authored
The way it is now, doing a cache.add has a slight race condition between checking if the key exists already before setting. This rewrite uses the native SETNX command to only set the key if one doesn't exist yet.
911cc952
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| __init__.py | ||
| cache.py |