OpenSlides/tests/unit
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
..
agenda (Current) list of speaker slide 2019-02-22 10:40:28 +01:00
config Run black 2019-01-08 21:51:52 +01:00
core New Projector 2019-01-19 08:19:40 +01:00
motions (Current) list of speaker slide 2019-02-22 10:40:28 +01:00
users Run black 2019-01-08 21:51:52 +01:00
utils Disable the future-lock when updating the restircted data cache 2019-03-04 21:37:00 +01:00
__init__.py New Test order. 2015-01-24 18:00:03 +01:00