summaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorHeikki Linnakangas2011-02-26 21:36:24 +0000
committerHeikki Linnakangas2011-02-26 21:38:25 +0000
commitbe6668d6eff6a03455b48fa8ce1a397ff5bae788 (patch)
tree0884d65268f27633e66d94a926c0b5a3fe9600ee /src/backend/replication
parent42e5223648e7e56f8041bed329929dbd5529ea92 (diff)
Increase the default for wal_sender_delay from 200ms to 1s. Now that WAL
sender is immediately woken up by transaction commit, there's no need to wake up so aggressively.
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/walsender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index eb99246e6d2..49b49d2a181 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -73,7 +73,7 @@ bool am_walsender = false; /* Am I a walsender process ? */
/* User-settable parameters for walsender */
int max_wal_senders = 0; /* the maximum number of concurrent walsenders */
-int WalSndDelay = 200; /* max sleep time between some actions */
+int WalSndDelay = 1000; /* max sleep time between some actions */
/*
* These variables are used similarly to openLogFile/Id/Seg/Off,