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)
commit670ebc5567914db0ac48aa709905a1aca006a4d6
tree21afd4704a64018412e2170bd3d1ac7a00de2fae
parentfdeb5fb69261d8d193ea12d15f66eba65ce1142c
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