Skip to content

Commit 4a1043b

Browse files
committedNov 28, 2015
Remove the err brake from PeriodicGC
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
1 parent 7e46762 commit 4a1043b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/corerepo/gc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func PeriodicGC(ctx context.Context, node *core.IpfsNode) error {
154154
case <-time.After(period):
155155
// the private func maybeGC doesn't compute storageMax, storageGC, slackGC so that they are not re-computed for every cycle
156156
if err := gc.maybeGC(ctx, 0); err != nil {
157-
return err
157+
log.Error(err)
158158
}
159159
}
160160
}

0 commit comments

Comments
 (0)
Please sign in to comment.