Skip to content

Commit

Permalink
Increase timeout for acl replication to 60 seconds and poll every 500…
Browse files Browse the repository at this point in the history
… ms (#2656)

increase timeout for acl replication to 60 seconds and poll every 500 ms
  • Loading branch information
Ashwin Venkatesh authored and absolutelightning committed Aug 4, 2023
1 parent be9b9fb commit 709f931
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/2656.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
control-plane: increase timeout after login for ACL replication to 60 seconds
```
4 changes: 2 additions & 2 deletions control-plane/subcommand/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const (
// The number of times to attempt ACL Login.
numLoginRetries = 100

raftReplicationTimeout = 2 * time.Second
tokenReadPollingInterval = 100 * time.Millisecond
raftReplicationTimeout = 60 * time.Second
tokenReadPollingInterval = 500 * time.Millisecond
)

// Logger returns an hclog instance with log level set and JSON logging enabled/disabled, or an error if level is invalid.
Expand Down

0 comments on commit 709f931

Please sign in to comment.