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
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
*
* 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 */
WaitLatchOrSocket(&MyWalSnd->latch, MyProcPort->sock,
WalSndDelay);
WalSndDelay * 1000L);
}
/* Check if the connection was closed */