OpenSlides/openslides/topics
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
..
migrations Run black 2019-01-08 21:51:52 +01:00
__init__.py Run black 2019-01-08 21:51:52 +01:00
access_permissions.py Run black 2019-01-08 21:51:52 +01:00
apps.py Projector V 2019-01-28 23:18:27 +01:00
models.py Disable the future-lock when updating the restircted data cache 2019-03-04 21:37:00 +01:00
projector.py Add item number to topic title, hide clos slide for one projector 2019-03-01 10:26:52 +01:00
serializers.py fix #4065 2019-02-06 16:53:26 +01:00
signals.py Run black 2019-01-08 21:51:52 +01:00
views.py Disable the future-lock when updating the restircted data cache 2019-03-04 21:37:00 +01:00