Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
4a1043b2
Commit
4a1043b2
authored
Nov 28, 2015
by
rht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the err brake from PeriodicGC
License: MIT Signed-off-by:
rht
<
rhtbot@gmail.com
>
parent
7e467623
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/corerepo/gc.go
core/corerepo/gc.go
+1
-1
No files found.
core/corerepo/gc.go
View file @
4a1043b2
...
...
@@ -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
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment