mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
Remove the err brake from PeriodicGC
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
parent
7e46762342
commit
4a1043b207
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user