Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Dec 12, 2023
1 parent ab02ec3 commit 13aa46b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/PeerDB-io/peer-flow/generated/protos"
"github.com/PeerDB-io/peer-flow/model"
"github.com/PeerDB-io/peer-flow/shared"
"github.com/PeerDB-io/peer-flow/utils"
util "github.com/PeerDB-io/peer-flow/utils"
"github.com/google/uuid"
"github.com/hashicorp/go-multierror"
"go.temporal.io/api/enums/v1"
Expand Down Expand Up @@ -140,7 +140,7 @@ func (w *CDCFlowWorkflowExecution) receiveAndHandleSignalAsync(ctx workflow.Cont
var signalVal shared.CDCFlowSignal
ok := signalChan.ReceiveAsync(&signalVal)
if ok {
state.ActiveSignal = utils.FlowSignalHandler(state.ActiveSignal, signalVal, w.logger)
state.ActiveSignal = util.FlowSignalHandler(state.ActiveSignal, signalVal, w.logger)
}
}

Expand Down Expand Up @@ -326,7 +326,7 @@ func CDCFlowWorkflowWithConfig(
// only place we block on receive, so signal processing is immediate
ok, _ := signalChan.ReceiveWithTimeout(ctx, 1*time.Minute, &signalVal)
if ok {
state.ActiveSignal = utils.FlowSignalHandler(state.ActiveSignal, signalVal, w.logger)
state.ActiveSignal = util.FlowSignalHandler(state.ActiveSignal, signalVal, w.logger)
}
}
}
Expand Down

0 comments on commit 13aa46b

Please sign in to comment.