Commit 8ca26e77 authored by Bruce Momjian's avatar Bruce Momjian

Tag 1000000L as long for compuation.

parent a535a152
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Revisions by Christopher B. Browne, Liberty RMS * Revisions by Christopher B. Browne, Liberty RMS
* Win32 Service code added by Dave Page * Win32 Service code added by Dave Page
* *
* $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.31 2005/04/19 03:35:15 momjian Exp $ * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.32 2005/05/11 14:53:43 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
...@@ -1749,7 +1749,7 @@ VacuumLoop(int argc, char **argv) ...@@ -1749,7 +1749,7 @@ VacuumLoop(int argc, char **argv)
fflush(LOGOUTPUT); fflush(LOGOUTPUT);
} }
pg_usleep(sleep_secs * 1000000); /* Larger Pause between outer loops */ pg_usleep(sleep_secs * 1000000L); /* Larger Pause between outer loops */
gettimeofday(&then, 0); /* Reset time counter */ gettimeofday(&then, 0); /* Reset time counter */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment