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-unixfs
Commits
494ed8fb
Commit
494ed8fb
authored
Jan 20, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demote dht logs
parent
ac64c2c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
routing/dht/dht_net.go
routing/dht/dht_net.go
+0
-2
routing/dht/routing.go
routing/dht/routing.go
+1
-1
No files found.
routing/dht/dht_net.go
View file @
494ed8fb
...
...
@@ -38,8 +38,6 @@ func (dht *IpfsDHT) handleNewMessage(s inet.Stream) {
// update the peer (on valid msgs only)
dht
.
updateFromMessage
(
ctx
,
mPeer
,
pmes
)
log
.
Event
(
ctx
,
"foo"
,
dht
.
self
,
mPeer
,
pmes
)
// get handler for this msg type.
handler
:=
dht
.
handlerForMsgType
(
pmes
.
GetType
())
if
handler
==
nil
{
...
...
routing/dht/routing.go
View file @
494ed8fb
...
...
@@ -215,7 +215,7 @@ func (dht *IpfsDHT) getClosestPeers(ctx context.Context, key u.Key) (<-chan peer
// run it!
_
,
err
:=
query
.
Run
(
ctx
,
tablepeers
)
if
err
!=
nil
{
log
.
Error
f
(
"closestPeers query run error: %s"
,
err
)
log
.
Debug
f
(
"closestPeers query run error: %s"
,
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