mirror of
https://github.com/postgres/postgres.git
synced 2026-04-12 04:26:44 -04:00
Add fflush() before sleeping, per Matthew O'Connor.
This commit is contained in:
parent
1b1d2d5f31
commit
2cfbbb1078
1 changed files with 1 additions and 0 deletions
|
|
@ -1161,6 +1161,7 @@ main(int argc, char *argv[])
|
|||
"%i All DBs checked in: %.0f usec, will sleep for %i secs.",
|
||||
loops, diff, sleep_secs);
|
||||
log_entry(logbuffer);
|
||||
fflush(LOGOUTPUT);
|
||||
}
|
||||
|
||||
sleep(sleep_secs); /* Larger Pause between outer loops */
|
||||
|
|
|
|||
Loading…
Reference in a new issue