Skip to content

Commit

Permalink
revert some suspicious changes
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Sep 30, 2024
1 parent 445fe1e commit 3cb6891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/networkservice/common/heal/eventloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (cev *eventLoop) monitorDataPlane() <-chan struct{} {
for {
select {
case <-ticker.C:
deadlineCtx, deadlineCancel := context.WithDeadline(cev.eventLoopCtx, time.Now().Add(cev.heal.livenessCheckTimeout))
deadlineCtx, deadlineCancel := context.WithDeadline(cev.chainCtx, time.Now().Add(cev.heal.livenessCheckTimeout))
alive := cev.heal.livenessCheck(deadlineCtx, cev.conn)
deadlineCancel()
if !alive {
Expand Down

0 comments on commit 3cb6891

Please sign in to comment.