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
e5198b14
Commit
e5198b14
authored
Nov 06, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bitswap error -> debug (use IPFS_LOGGING=debug)
parent
728d977b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
exchange/bitswap/bitswap.go
exchange/bitswap/bitswap.go
+1
-1
No files found.
exchange/bitswap/bitswap.go
View file @
e5198b14
...
...
@@ -82,7 +82,7 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error)
log
.
Debugf
(
"Get Block %v"
,
k
)
now
:=
time
.
Now
()
defer
func
()
{
log
.
Error
f
(
"GetBlock took %f secs"
,
time
.
Now
()
.
Sub
(
now
)
.
Seconds
())
log
.
Debug
f
(
"GetBlock took %f secs"
,
time
.
Now
()
.
Sub
(
now
)
.
Seconds
())
}()
ctx
,
cancelFunc
:=
context
.
WithCancel
(
parent
)
...
...
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