mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +00:00
Revert testing code
This commit is contained in:
parent
f61528737b
commit
f999cb027f
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ func (m *Module) stopAllTasks(reports chan *report, stopComplete chan struct{})
|
||||||
select {
|
select {
|
||||||
case <-stopComplete:
|
case <-stopComplete:
|
||||||
// case <-time.After(moduleStopTimeout):
|
// case <-time.After(moduleStopTimeout):
|
||||||
case <-time.After(3 * time.Second):
|
case <-time.After(moduleStopTimeout):
|
||||||
log.Warningf(
|
log.Warningf(
|
||||||
"%s: timed out while waiting for stopfn/workers/tasks to finish: stopFn=%v/%v workers=%d tasks=%d microtasks=%d, continuing shutdown...",
|
"%s: timed out while waiting for stopfn/workers/tasks to finish: stopFn=%v/%v workers=%d tasks=%d microtasks=%d, continuing shutdown...",
|
||||||
m.Name,
|
m.Name,
|
||||||
|
|
Loading…
Add table
Reference in a new issue