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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user