Marcin Kuzminski
e9e73ec871
caches: use safest possible pickle for cache backends.
...
- If this crashes we end up in fatal non-recoverable state.
2018-07-23 15:26:36 +02:00
Marcin Kuzminski
6e45dc9605
caches: introduce new conditional cache function.
2018-07-14 18:17:02 +02:00
Marcin Kuzminski
ec504c9907
caches: use delete_multi for clearing out cache keys.
...
- This is a safer and more efficient way of purging many keys.
- For file based cache it only opens the DB once
2018-07-13 18:39:52 +02:00
Marcin Kuzminski
f4b8149962
caches: allow debug of max_size reached by the MemoryLRU cache.
2018-07-13 17:29:36 +02:00
Marcin Kuzminski
7d7d6741bb
caches: added logging for dogpile configuration.
2018-07-13 13:06:04 +02:00
Marcin Kuzminski
0e05d6dd64
caches: use a faster LRUDict implementation for LRUMemoryCache
2018-07-12 17:48:12 +02:00
Marcin Kuzminski
a19d4b732a
caches: use a gevent compatible file-lock mechanism.
...
- because of gevent we can run into a deadlock situation and worker freeze because of
each of the workers will try to aquire a lock.
- This should help with the issue and gevent.
2018-07-12 10:40:18 +02:00
Marcin Kuzminski
a48ab8a32d
caches: don't use beaker for file caches anymore
2018-07-06 12:55:13 +02:00
Marcin Kuzminski
ddc445856e
caches: rewrite of auth/permission caches to dogpile.
2018-07-05 20:14:33 +02:00