Actions
Bug #4173
openBug #4166: [ce] Rhodecode crashing after MySQL error
[ce, ee] mysql recycle pool timeout not working
Start date:
12.08.2016
Due date:
% Done:
0%
Estimated time:
Sorting:
Commit Number:
Affected Version:
Description
Replication:
- new config using mysql database
- set mysql's wait_timeout to 6
threads = 1
in inisqlalchemy.db1.pool_recycle = 3
in ini- git push a repo (no changes need, just a push)
- wait 7 seconds
- git push again
- get -
OperationalError: (OperationalError) (2006, 'MySQL server has gone away)
This will also break subsequent requests with StatementError: Can't reconnect until invalid transaction is rolled back
Actions