Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3522217

Browse files
committed
Oops, the timeout argument to WaitLatchOrSocket is in microseconds, not
milliseconds.
1 parent06e8c8e commit3522217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/replication/walsender.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group
2929
*
3030
* IDENTIFICATION
31-
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.30 2010/09/11 15:48:04 heikki Exp $
31+
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.31 2010/09/14 13:35:14 heikki Exp $
3232
*
3333
*-------------------------------------------------------------------------
3434
*/
@@ -452,7 +452,7 @@ WalSndLoop(void)
452452

453453
/* Sleep */
454454
WaitLatchOrSocket(&MyWalSnd->latch,MyProcPort->sock,
455-
WalSndDelay);
455+
WalSndDelay*1000L);
456456
}
457457

458458
/* Check if the connection was closed */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp