Remove the err brake from PeriodicGC
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
rht committed
Nov 28, 2015 at 07:52 UTC
4a1043b207c837b071df400682b1df2cfb2be91e
1 file changed
+1
-1
core/corerepo/gc.go
+1
-1
@@ -154,7 +154,7 @@ func PeriodicGC(ctx context.Context, node *core.IpfsNode) error {
154
case <-time.After(period):
155
// the private func maybeGC doesn't compute storageMax, storageGC, slackGC so that they are not re-computed for every cycle
156
if err := gc.maybeGC(ctx, 0); err != nil {
157
- return err
157
+ log.Error(err)
158
}
159
}
160
}