globaleaks/GlobaLeaks — comment on commit 214ecb18296e6d7b1c2e7203621d5b0880235ff4
File: globaleaks/applications/globaleaks/models/datamodel.py line 134
By hellais:

Since we are doing the notification setting per group, we should make sure that notification operations are atomic. I believe currently that is not the case and it is very hard to achieve so

Think for example of a group with 2000 targets. If we make the operation atomic it means that it could require a lot of time for the operation to complete.

Let's think of this and maybe implement a per target notified flag function.