1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

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.
This commit is contained in:
Heikki Linnakangas
2011-02-26 23:36:24 +02:00
parent 42e5223648
commit be6668d6ef
4 changed files with 8 additions and 5 deletions

View File

@@ -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,