b09b5729a3
Some providers have set their wait_timeout to 60s in order to pack as many users as they can on a machine. The mysql default is 28800 seconds (8 hours) Since mysql connection build and tear down is relativity expensive, we want to avoid being disconnected. We now accommodate this scenario with the following: 1. Raise the mysql session wait_timeout 28800 when we connect 2. The event session now does a 30 second keep alive to ensure the connection stays open |
||
---|---|---|
.. | ||
__init__.py | ||
const.py | ||
manifest.json | ||
migration.py | ||
models.py | ||
purge.py | ||
services.yaml | ||
util.py |