Implement review suggestions

This commit is contained in:
Daniel
2020-04-08 14:07:29 +02:00
parent 38f57a8954
commit 249261a3da
5 changed files with 32 additions and 35 deletions

View File

@@ -32,7 +32,7 @@ func cleanConnections() (activePIDs map[int]struct{}) {
activePIDs = make(map[int]struct{})
name := "clean connections" // TODO: change to new fn
module.RunMediumPriorityMicroTask(&name, func(ctx context.Context) error {
_ = module.RunMediumPriorityMicroTask(&name, func(ctx context.Context) error {
activeIDs := make(map[string]struct{})
for _, cID := range process.GetActiveConnectionIDs() {
activeIDs[cID] = struct{}{}