From 79d2ddf24ff452dc9c561c4f91d16e36a17bfc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 30 Sep 2020 21:18:12 +0200 Subject: [PATCH] Review --- extern/sector-storage/sched.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/extern/sector-storage/sched.go b/extern/sector-storage/sched.go index 760fe9cba..e91c92525 100644 --- a/extern/sector-storage/sched.go +++ b/extern/sector-storage/sched.go @@ -803,13 +803,7 @@ func (sh *scheduler) workerCleanup(wid WorkerID, w *workerHandle) { } sh.openWindows = newWindows - log.Debugf("dropWorker %d", wid) - - /*go func() { // TODO: just remove? - if err := w.w.Close(); err != nil { - log.Warnf("closing worker %d: %+v", err) - } - }()*/ + log.Debugf("worker %d dropped", wid) } }