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
p2p
go-p2p-pubsub
Commits
7a3d0ca3
Commit
7a3d0ca3
authored
Apr 01, 2021
by
vyzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demote log spam to debug
parent
eda69749
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pubsub.go
pubsub.go
+1
-1
No files found.
pubsub.go
View file @
7a3d0ca3
...
...
@@ -529,7 +529,7 @@ func (p *PubSub) processLoop(ctx context.Context) {
if
p
.
host
.
Network
()
.
Connectedness
(
pid
)
==
network
.
Connected
{
// still connected, must be a duplicate connection being closed.
// we respawn the writer as we need to ensure there is a stream active
log
.
Warn
(
"peer declared dead but still connected; respawning writer: "
,
pid
)
log
.
Debugf
(
"peer declared dead but still connected; respawning writer:
%s
"
,
pid
)
messages
:=
make
(
chan
*
RPC
,
p
.
peerOutboundQueueSize
)
messages
<-
p
.
getHelloPacket
()
go
p
.
handleNewPeer
(
ctx
,
pid
,
messages
)
...
...
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