scheduler patch, thanks Niphlod

This commit is contained in:
Massimo
2013-01-15 15:54:29 -06:00
parent ccc1de2595
commit 92cef0b811
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.01.15.13.25.43
Version 2.4.1-alpha.2+timestamp.2013.01.15.15.53.29
+2 -1
View File
@@ -556,7 +556,7 @@ class Scheduler(MetaScheduler):
self.die()
def wrapped_assign_tasks(self, db):
db.commit() # ?don't know if it's useful, let's be completely sure
db.commit() #db.commit() only for Mysql
x = 0
while x < 10:
try:
@@ -571,6 +571,7 @@ class Scheduler(MetaScheduler):
def wrapped_pop_task(self):
db = self.db
db.commit() #another nifty db.commit() only for Mysql
x = 0
while x < 10:
try: