1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Oops, the timeout argument to WaitLatchOrSocket is in microseconds, not

milliseconds.
This commit is contained in:
Heikki Linnakangas
2010-09-14 13:35:14 +00:00
parent 06e8c8e3ec
commit 3522217b63

View File

@ -28,7 +28,7 @@
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group * Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.30 2010/09/11 15:48:04 heikki Exp $ * $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.31 2010/09/14 13:35:14 heikki Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -452,7 +452,7 @@ WalSndLoop(void)
/* Sleep */ /* Sleep */
WaitLatchOrSocket(&MyWalSnd->latch, MyProcPort->sock, WaitLatchOrSocket(&MyWalSnd->latch, MyProcPort->sock,
WalSndDelay); WalSndDelay * 1000L);
} }
/* Check if the connection was closed */ /* Check if the connection was closed */