Skip to content

Commit

Permalink
Decreased time interval for status updates (10 -> 5 seconds)
Browse files Browse the repository at this point in the history
  • Loading branch information
noctarius committed Jul 9, 2023
1 parent 75d03ae commit 1c22402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (rh *replicationHandler) startReplicationHandler(
replicationConnection *context.ReplicationConnection, restartLSN pgtypes.LSN,
) error {

standbyMessageTimeout := time.Second * 10
standbyMessageTimeout := time.Second * 5
nextStandbyMessageDeadline := time.Now().Add(standbyMessageTimeout)

runtime.LockOSThread()
Expand Down

0 comments on commit 1c22402

Please sign in to comment.