mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Adjust worker_spi for 6f3bd98ebf
.
This commit is contained in:
@ -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 */
|
||||||
|
Reference in New Issue
Block a user