OpenSlides/openslides/utils
Oskar Hahn dd4754d045 Disable the future-lock when updating the restircted data cache
Before this commit, there where two different locks when updating the restricted
data cache. A future lock, what is faster but only works in the same thread. The
other lock is in redis, it is not so fast, but also works in many threads.

The future lock was buggy, because on a second call of update_restricted_data
the same future was reused. So on the second run, the future was already done.

I don't see any way to delete. The last client would have to delete it, but there
is no way to find out which client the last one is.
2019-03-04 21:37:00 +01:00
..
__init__.py Add code 2011-07-31 10:46:29 +02:00
access_permissions.py Run black 2019-01-08 21:51:52 +01:00
arguments.py use f-string syntax for strings 2019-01-18 17:37:36 +01:00
auth.py use f-string syntax for strings 2019-01-18 17:37:36 +01:00
autoupdate.py Fixed deletion of motions with change recommendations. Fixed #4415. 2019-02-27 20:16:51 +01:00
cache_providers.py use f-string syntax for strings 2019-01-18 17:37:36 +01:00
cache.py Disable the future-lock when updating the restircted data cache 2019-03-04 21:37:00 +01:00
constants.py Make Consumer real async again 2018-09-04 08:57:50 +02:00
consumers.py ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
exceptions.py Use python3 2014-08-24 21:21:11 +02:00
main.py activate start command 2019-01-20 11:24:42 +01:00
middleware.py Run black 2019-01-08 21:51:52 +01:00
migrations.py Fix 'errors' 2019-01-30 12:18:59 +01:00
models.py Fixed on_delete field attr. Fixed #4405 2019-03-01 20:53:01 +01:00
plugins.py Run black 2019-01-08 21:51:52 +01:00
projector.py (Current) list of speaker slide 2019-02-22 10:40:28 +01:00
redis.py Run black 2019-01-08 21:51:52 +01:00
rest_api.py Run black 2019-01-08 21:51:52 +01:00
settings.py.tpl increasing default upload size 2019-02-25 09:28:32 +01:00
test.py Remove CollectionElement 2018-11-04 01:06:01 +01:00
utils.py use f-string syntax for strings 2019-01-18 17:37:36 +01:00
validate.py Run black 2019-01-08 21:51:52 +01:00
views.py remove old client 2018-10-25 16:04:28 +02:00
websocket.py Run black 2019-01-08 21:51:52 +01:00