Skip to content

Commit

Permalink
Current refresh interval is too high
Browse files Browse the repository at this point in the history
There is no need to keep it is 10 seconds as we are requesting internal
state of ringpop/uns any way.
  • Loading branch information
dkrotx committed Oct 11, 2024
1 parent 77c61f2 commit 6b1838f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/membership/hashring.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ import (
var ErrInsufficientHosts = &types.InternalServiceError{Message: "Not enough hosts to serve the request"}

const (
minRefreshInternal = time.Second * 4
defaultRefreshInterval = time.Second * 10
minRefreshInternal = time.Second
defaultRefreshInterval = 2 * time.Second
replicaPoints = 100
)

Expand Down

0 comments on commit 6b1838f

Please sign in to comment.