Disable query cache when outside Rails executor
When outside of the Rails executor context, we do not want to enable the query cache because the connection may never get released until the thread terminates. For example, this happens on console sessions or in long-running threads that do not work in a request context. Changelog: fixed
Showing
Please register or sign in to comment