Обсуждение: pgsql: Reduce the maximum sleep interval in the autovac launcher to 1

Поиск
Список
Период
Сортировка

pgsql: Reduce the maximum sleep interval in the autovac launcher to 1

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        autovacuum.c (r1.54 -> r1.55)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.54&r2=1.55)