forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita16db3a
committed
Fix incorrect tps number calculation in "excluding connections establishing".
The tolerance (larger than actual tps number) increases as the numberof threads decreases. The bug has been there since the thread supportwas introduced in 9.0. Because back patching introduces incompatiblebehavior changes regarding the tps number, the fix is committed tomaster and 9.5 stable branches only.Problem spotted by me and fix proposed by Fabien COELHO. Note that hisoriginal patch included more than fixes (a code re-factoring) which isnot related to the problem and I omitted the part.1 parent6b61955 commita16db3a
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2616 | 2616 |
| |
2617 | 2617 |
| |
2618 | 2618 |
| |
2619 |
| - | |
| 2619 | + | |
2620 | 2620 |
| |
2621 | 2621 |
| |
2622 | 2622 |
| |
|
0 commit comments
Comments
(0)