Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <[email protected]>
  • Loading branch information
disksing committed Oct 10, 2021
1 parent c0938f6 commit 5b69c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/region_syncer/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func NewRegionSyncer(s Server) *RegionSyncer {
tlsConfig: s.GetTLSConfig(),
}
syncer.mu.streams = make(map[string]ServerStream)
syncer.mu.clientCtx, syncer.mu.clientCancel = context.WithCancel(context.Background())
syncer.mu.clientCtx, syncer.mu.clientCancel = context.WithCancel(s.LoopContext())
return syncer
}

Expand Down

0 comments on commit 5b69c4a

Please sign in to comment.