Hello all, I keep getting this error when calling scheduler.queue_task() with immediate=True:
<class 'gluon.contrib.pymysql.err.InternalError'> (1213, u'Deadlock found when trying to get lock; try restarting transaction') The stack trace shows this is the culprit: self.db(self.db.scheduler_worker.is_ticker == True).update(status=PICK) (This is a web application which uses the scheduler pretty extensively.) Seems like multiple connections are competing for access to the same scheduler_worker row. Seems to me like a web2py bug. Any help would be greatly appreciated. Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

