mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
Remove the err brake from PeriodicGC
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
@ -154,7 +154,7 @@ func PeriodicGC(ctx context.Context, node *core.IpfsNode) error {
|
||||
case <-time.After(period):
|
||||
// the private func maybeGC doesn't compute storageMax, storageGC, slackGC so that they are not re-computed for every cycle
|
||||
if err := gc.maybeGC(ctx, 0); err != nil {
|
||||
return err
|
||||
log.Error(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user