Refactoring DetermineSleepTime() - Mailing list pgsql-hackers

From Thomas Munro
Subject Refactoring DetermineSleepTime()
Date
Msg-id CA+hUKGLqkc8XF780bBtFTkVgGgSRZ7qVEaHWRec4Auv+sx-48g@mail.gmail.com
Whole thread
List pgsql-hackers
Hi,

DetermineSleepTime() came with background workers (commit da07a1e8).
While working on I/O workers, which now also have time-scheduled
postmaster duties to support io_worker_launch_interval, I wondered if
it might be time to refactor it and make such things follow a standard
pattern, including the much more ancient SIGKILL and the
lockfile/socket stuff.  Sketch patch attached.

Something similar happened to walreceiver.c.

Attachment

pgsql-hackers by date:

Previous
From: Soumya S Murali
Date:
Subject: Re: Fix bug with accessing to temporary tables of other sessions
Next
From: Dapeng Wang
Date:
Subject: Re: create table like including storage parameter