Merged in revid-log-debug-message-upon-ring-timeout (pull request #151)

Only log a debug message when ring.ErrTimeout occurs, not a warning.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
This commit is contained in:
Alan Noble 2019-02-25 07:58:36 +00:00
commit 4919c972c6
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ loop:
case nil: case nil:
// Do nothing. // Do nothing.
case ring.ErrTimeout: case ring.ErrTimeout:
r.config.Logger.Log(logger.Warning, pkg+"ring buffer read timeout") r.config.Logger.Log(logger.Debug, pkg+"ring buffer read timeout")
continue continue
default: default:
r.config.Logger.Log(logger.Error, pkg+"unexpected error", "error", err.Error()) r.config.Logger.Log(logger.Error, pkg+"unexpected error", "error", err.Error())