[web2py] Re: Error during scheduled job

2016-05-27 Thread Andre Kozaczka
Per some searching earlier, my scheduled job looks like this: db._adapter.close() doStuff() db._adapter.reconnect() Which I thought would take care of the lost c

[web2py] Re: Error during scheduled job

2016-05-27 Thread Niphlod
nope, it's a mysql gotcha. it closes the connection without telling it did so. Try issuing a query every once in a while. On Friday, May 27, 2016 at 3:56:34 AM UTC+2, Andre Kozaczka wrote: > > I'm seeing this error occasionally from my scheduler: > > File "/usr/lib/python2.7/ssl.py", line 341,