Skip to content

Commit

Permalink
fix(hooks): restart task for poller (#4260)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjjj authored and richardlt committed May 6, 2019
1 parent 22e3fa4 commit 3af23cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/hooks/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ func (s *Service) doTask(ctx context.Context, t *sdk.Task, e *sdk.TaskExecution)
case e.ScheduledTask != nil && e.Type == TypeRepoPoller:
//Populate next execution
hs, err = s.doPollerTaskExecution(t, e)
doRestart = true
case e.Kafka != nil && e.Type == TypeKafka:
h, err = s.doKafkaTaskExecution(e)
case e.RabbitMQ != nil && e.Type == TypeRabbitMQ:
Expand Down

0 comments on commit 3af23cd

Please sign in to comment.