Commit 3522217b authored by Heikki Linnakangas's avatar Heikki Linnakangas

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

milliseconds.
parent 06e8c8e3
...@@ -28,7 +28,7 @@ ...@@ -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) ...@@ -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 */
......
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