scheduler patch, thanks Niphlod
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user