From f999cb027fe3f2c5fece0cf365811763cb598520 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 6 Oct 2021 16:57:10 +0200 Subject: [PATCH] Revert testing code --- modules/modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modules.go b/modules/modules.go index d88faa5d..e5fc278c 100644 --- a/modules/modules.go +++ b/modules/modules.go @@ -272,7 +272,7 @@ func (m *Module) stopAllTasks(reports chan *report, stopComplete chan struct{}) select { case <-stopComplete: // case <-time.After(moduleStopTimeout): - case <-time.After(3 * time.Second): + case <-time.After(moduleStopTimeout): log.Warningf( "%s: timed out while waiting for stopfn/workers/tasks to finish: stopFn=%v/%v workers=%d tasks=%d microtasks=%d, continuing shutdown...", m.Name,