Commit b69cd81e by Kálmán Viktor

Merge branch 'issue-427' into 'master'

Make notification activity concurrent

Closes #427

See merge request !376
parents f5902b8f 3f78d61d
......@@ -680,7 +680,7 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin,
with self.activity('notification_about_expiration',
readable_name=ugettext_noop(
"notify owner about expiration"),
on_commit=on_commit):
on_commit=on_commit, concurrency_check=False):
from dashboard.views import VmRenewView, absolute_url
level = self.get_level_object("owner")
for u, ulevel in self.get_users_with_level(level__pk=level.pk):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment