stex
stex copied to clipboard
Unrecoverable Error: Cannot enqueue Query after fatal error.
trafficstars
If a connection is killed by mysql, or the running stex application otherwise gets its connection into a fatal state, stex does not properly recover and the service requires a restart to resume normal function.
Instead, stex needs to validate/reconnect to the db at the HTTP request boundary if no connection is available, and we need to close connections after we receive a fatal error.
The error: Cannot read property '__cid' of undefined
This first step to having recoverable connection errors is here:
https://github.com/bookshelf/generic-pool-redux/pull/4