stacktach/worker
Monsyne Dragon 3e4eb35653 Fix db reconnect issue under django 1.6+
Django's orm layer will not auto-reconnect after it looses
the connection to the mysql server, until you manually close the
database connection in django 1.6 and above.

(see: https://code.djangoproject.com/ticket/21597)

This is an issue for persistant connections, as MySQL will timeout
inactive connections, and any loss of the db connection will cause
the stacktach worker to simply repeat the error
"MySQL server has gone away" until restarted.

This fix will allow the stacktach worker to properly reconnect.

Change-Id: I0b0bc75b7e21fd183f3b0e7a55d727ff98d6f02b
2014-07-25 19:38:21 +00:00
..
__init__.py Worker unit tests 2013-01-25 18:17:18 -05:00
config.py Switched to Apache licensing 2014-03-28 11:47:16 -03:00
stacktach.sh basic debianization 2014-03-19 15:19:09 +04:00
start_workers.py let workers exit gracefully 2014-02-06 15:04:59 +01:00
worker.py Fix db reconnect issue under django 1.6+ 2014-07-25 19:38:21 +00:00