OSDN Git Service

Reduce the maximum sleep interval in the autovac launcher to 1 second,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jul 2007 18:30:54 +0000 (18:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jul 2007 18:30:54 +0000 (18:30 +0000)
commitbce7bacdf206436cf2b85ccbbdc6cef56415f32d
treea0972e3ad5b8d2f3e0df90a021b4cc218efb58ac
parent421d50273f310a5ad923dfa99af3a2cb377dcef1
Reduce the maximum sleep interval in the autovac launcher to 1 second,
so that it responds to SIGQUIT reasonably promptly even on machines where
SA_RESTART signals restart a sleep from scratch.  (This whole area could
stand some rethinking, but for now make it work like the other processes
do.)  Also some marginal stylistic cleanups.
src/backend/postmaster/autovacuum.c