Skip to content

Commit

Permalink
fix the conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
  • Loading branch information
Leavrth committed Jan 18, 2023
1 parent ed24408 commit 4be848c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions br/pkg/checkpoint/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,14 +413,10 @@ func (r *CheckpointRunner) startCheckpointLoop(ctx context.Context, tickDuration
defer cancel()
var wg sync.WaitGroup
errCh := r.startCheckpointRunner(cctx, &wg)
<<<<<<< HEAD
ticker := time.NewTicker(tickDuration)
=======
flushTicker := time.NewTicker(tickDurationForFlush)
defer flushTicker.Stop()
lockTicker := time.NewTicker(tickDurationForLock)
defer lockTicker.Stop()
>>>>>>> 89de573660 (BR: add lock with ttl for checkpoint backup (#40563))
for {
select {
case <-ctx.Done():
Expand Down

0 comments on commit 4be848c

Please sign in to comment.