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-blockservice
Commits
81b761d5
Commit
81b761d5
authored
Jan 20, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log err
parent
90d665fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
worker/worker.go
worker/worker.go
+1
-2
No files found.
worker/worker.go
View file @
81b761d5
...
...
@@ -131,7 +131,7 @@ func (w *Worker) start(c Config) {
}
limiter
.
LimitedGo
(
func
(
proc
process
.
Process
)
{
if
err
:=
w
.
exchange
.
HasBlock
(
ctx
,
block
);
err
!=
nil
{
// TODO log event?
log
.
Infof
(
"blockservice worker error: %s"
,
err
)
}
})
}
...
...
@@ -144,7 +144,6 @@ type BlockList struct {
}
func
(
s
*
BlockList
)
PushFront
(
b
*
blocks
.
Block
)
{
// FIXME find figures
s
.
list
.
PushFront
(
b
)
}
...
...
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