Skip to content

Commit

Permalink
add extend interval
Browse files Browse the repository at this point in the history
  • Loading branch information
castaneai committed Dec 25, 2023
1 parent df0698a commit 7488550
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loadtest/cmd/backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ func newRedisStateStore(conf *config) (statestore.StateStore, error) {
opts = append(opts, statestore.WithSeparatedAssignmentRedis(asRedis))
}
locker, err := rueidislock.NewLocker(rueidislock.LockerOption{
ClientOption: copt,
ClientOption: copt,
ExtendInterval: 200 * time.Millisecond,
})
if err != nil {
return nil, fmt.Errorf("failed to new rueidis locker: %w", err)
Expand Down

0 comments on commit 7488550

Please sign in to comment.