Commit ab52391
Use single Stat snapshot in checkMinConns
Two separate Stat() calls could return inconsistent values for
TotalConns and IdleConns. Capture once for a consistent snapshot.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ee304a8 commit ab52391
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| |||
0 commit comments