Skip to content

Commit

Permalink
revert time
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <ihusharp@gmail.com>
  • Loading branch information
HuSharp committed Sep 9, 2024
1 parent bff529d commit 0d115bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tso/keyspace_group_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ func (kgm *KeyspaceGroupManager) primaryPriorityCheckLoop() {
defer kgm.wg.Done()

failpoint.Inject("fastPrimaryPriorityCheck", func() {
kgm.primaryPriorityCheckInterval = 1 * time.Second
kgm.primaryPriorityCheckInterval = 200 * time.Millisecond
})

ticker := time.NewTicker(kgm.primaryPriorityCheckInterval)
Expand Down

0 comments on commit 0d115bf

Please sign in to comment.