On Tue, Nov 8, 2022 at 9:20 PM Bharath Rupireddy <bharath.rupireddyforpostg...@gmail.com> wrote: > Thanks. Do we need a similar wakeup approach for logical replication > workers in worker.c? Or is it okay that the nap time is 1sec there?
Yeah, I think so. At least for its idle/nap case (waiting for flush is also a technically interesting case, but harder, and applies to non-idle systems so the polling is a little less offensive).