Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
46129188
Commit
46129188
authored
Jun 26, 2018
by
Adrià Cidre
Committed by
Guillaume Ballet
Jun 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whisper: Reduce message loop log from Warn to Info (#17055)
parent
1f0f6f02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
whisper.go
whisper/whisperv5/whisper.go
+1
-1
whisper.go
whisper/whisperv6/whisper.go
+1
-1
No files found.
whisper/whisperv5/whisper.go
View file @
46129188
...
...
@@ -499,7 +499,7 @@ func (w *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// fetch the next packet
packet
,
err
:=
rw
.
ReadMsg
()
if
err
!=
nil
{
log
.
Warn
(
"message loop"
,
"peer"
,
p
.
peer
.
ID
(),
"err"
,
err
)
log
.
Info
(
"message loop"
,
"peer"
,
p
.
peer
.
ID
(),
"err"
,
err
)
return
err
}
if
packet
.
Size
>
w
.
MaxMessageSize
()
{
...
...
whisper/whisperv6/whisper.go
View file @
46129188
...
...
@@ -650,7 +650,7 @@ func (whisper *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// fetch the next packet
packet
,
err
:=
rw
.
ReadMsg
()
if
err
!=
nil
{
log
.
Warn
(
"message loop"
,
"peer"
,
p
.
peer
.
ID
(),
"err"
,
err
)
log
.
Info
(
"message loop"
,
"peer"
,
p
.
peer
.
ID
(),
"err"
,
err
)
return
err
}
if
packet
.
Size
>
whisper
.
MaxMessageSize
()
{
...
...
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