Skip to content

Commit

Permalink
Fix communication timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Jan 22, 2024
1 parent 13f6fa9 commit 60f6cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpc/communicate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func CallAllReplicas(ctx context.Context, clients []interface{}, replicaFuncs []
responseChannel <- result{reply: reply, err: err}
}(clientFunc, clients[i])
}
timeout := time.After(20 * time.Second)
timeout := time.After(5 * time.Second)
var errors []error
for {
select {
Expand Down

0 comments on commit 60f6cc4

Please sign in to comment.