Skip to content

Commit

Permalink
up to 2 replication workers work on the same host
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsaou committed Dec 14, 2024
1 parent 55d253b commit 314e586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ static bool rq_sender_acquire(struct replication_request *rq, bool force) {
ssize_t desired;

do {
if(!force && expected >= 5)
if(!force && expected >= 2)
return false;

desired = expected + 1;
Expand Down

0 comments on commit 314e586

Please sign in to comment.