Commit 288a4d82 authored by Michael Salim's avatar Michael Salim
Browse files

increased sleep

parent 88517f23
......@@ -257,7 +257,7 @@ class BalsamJob(models.Model):
try: models.Model.save(self, force_insert, force_update, using, update_fields)
except OperationalError:
try:
time.sleep(1)
time.sleep(5)
newjob = BalsamJob.objects.get(pk=self.pk)
if newjob.version == self.version: break
except ObjectDoesNotExist: pass
......
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 to comment