From 3af23cd0e0ae60b7660971032d9ff259d55e4b97 Mon Sep 17 00:00:00 2001 From: Coenen Benjamin Date: Mon, 6 May 2019 15:28:23 +0200 Subject: [PATCH] fix(hooks): restart task for poller (#4260) --- engine/hooks/tasks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/hooks/tasks.go b/engine/hooks/tasks.go index 361aa42ce6..c3e77e7b07 100644 --- a/engine/hooks/tasks.go +++ b/engine/hooks/tasks.go @@ -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: