Revert testing code

This commit is contained in:
Daniel 2021-10-06 16:57:10 +02:00
parent f61528737b
commit f999cb027f

View file

@ -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,