mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
### What does this PR do? Let MySQL unref when idle and make sure that is behaving like this. Only set up the timers after all status changes are complete since the timers rely on the status to determine timeouts, this was causing the CPU usage spike to 100% (thats why only happened in TLS) CPU usage it self will be improved in https://github.com/oven-sh/bun/pull/23700 not in this PR Fixes: https://github.com/oven-sh/bun/issues/23273 Fixes: https://github.com/oven-sh/bun/issues/23256 ### How did you verify your code works? Test --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
39 KiB
39 KiB