Skip to content

Commit

Permalink
Merge pull request #1574 from c9s/kbearXD/dca2/remove-log
Browse files Browse the repository at this point in the history
dca2: remove debug log
  • Loading branch information
kbearXD committed Mar 11, 2024
2 parents 0bc409e + 17b193b commit c5dbd4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/strategy/dca2/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ func (s *Strategy) runState(ctx context.Context) {
case <-monitorTicker.C:
s.updateNumOfOrdersMetrics(ctx)
case nextState := <-s.nextStateC:
s.logger.Infof("[DCA] currenct state: %d, next state: %d", s.state, nextState)

// s.logger.Infof("[DCA] currenct state: %d, next state: %d", s.state, nextState)
// check the next state is valid
validNextState, exist := stateTransition[s.state]
if !exist {
Expand Down

0 comments on commit c5dbd4b

Please sign in to comment.