Commit c250994
committed
Fix bug slowing down pgbench when -P is used.
A removed check in ba3deee made all threads but the main one busy-loop
when -P was used. All threads computed the time to the next time the
progress report should be printed, but only the main thread did so and
re-scheduled it only for the future.
Reported-By: Jesper Pedersen
Discussion: 55C4E190.3050104@redhat.com1 parent 89db839 commit c250994
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3646 | 3646 | | |
3647 | 3647 | | |
3648 | 3648 | | |
3649 | | - | |
| 3649 | + | |
3650 | 3650 | | |
3651 | 3651 | | |
3652 | 3652 | | |
| |||
0 commit comments