mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
chore: fix linter warnings (#530)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -97,8 +97,8 @@ func (s *Server) serve(ctx context.Context) {
|
||||
} else {
|
||||
tempDelay *= 2
|
||||
}
|
||||
if max := 1 * time.Second; tempDelay > max {
|
||||
tempDelay = max
|
||||
if maxDelay := 1 * time.Second; tempDelay > maxDelay {
|
||||
tempDelay = maxDelay
|
||||
}
|
||||
log.Error().Str("module", "pop3").Err(err).
|
||||
Msgf("POP3 accept timout; retrying in %v", tempDelay)
|
||||
|
||||
Reference in New Issue
Block a user