[web2py] Re: deadlock detected schedule

2018-10-23 Thread Antonio Salazar
Did you remember to db.commit() or db.rollback() in your tasks? In the scheduler web2py automatically starts the transaction, but you have to manually COMMIT or ROLLBACK before returning. On Tuesday, October 23, 2018 at 12:15:35 AM UTC-5, Ruben Quintana wrote: > > I have a lot of errore in the po

[web2py] Re: deadlock detected schedule

2018-10-23 Thread Dave S
On Monday, October 22, 2018 at 10:15:35 PM UTC-7, Ruben Quintana wrote: > > I have a lot of errore in the postgres 9.6 log > > < 2018-10-13 17:01:51.039 CST > ERROR: deadlock detected > Deadlock on scheduler workers isn't a common problem. What are your workers doing, and how are you schedul