Commit 976a1ce9 authored by Robert Haas's avatar Robert Haas

Adjust worker_spi for 6f3bd98e.

parent 6f3bd98e
...@@ -227,7 +227,8 @@ worker_spi_main(Datum main_arg) ...@@ -227,7 +227,8 @@ worker_spi_main(Datum main_arg)
*/ */
rc = WaitLatch(MyLatch, rc = WaitLatch(MyLatch,
WL_LATCH_SET | WL_TIMEOUT | WL_POSTMASTER_DEATH, WL_LATCH_SET | WL_TIMEOUT | WL_POSTMASTER_DEATH,
worker_spi_naptime * 1000L); worker_spi_naptime * 1000L,
WAIT_EXTENSION);
ResetLatch(MyLatch); ResetLatch(MyLatch);
/* emergency bailout if postmaster has died */ /* emergency bailout if postmaster has died */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment