mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 17:41:14 +03:00
Adjust worker_spi for 6f3bd98ebfc008cbd676da777bb0b2376c4c4bfa.
This commit is contained in:
parent
6f3bd98ebf
commit
976a1ce910
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user