mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
f9789e974b
Why this change? I have been investigating transaction related issues with our system tests and I have a hard time figuring out what is causing the problem. To help simplify our environment further, we will set the pool size in the test environment to 1 so that it is impossible for us to be fetching a different connection between the threads since they all share the connection pool. Also set `reaping_frequency` to `0` to ensure we don't reap any connection ensuring the same connection is always used.