mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
More config cleanups for #86
This commit is contained in:
@@ -414,7 +414,7 @@ func (ss *Session) greet() {
|
||||
|
||||
// Calculate the next read or write deadline based on maxIdle
|
||||
func (ss *Session) nextDeadline() time.Time {
|
||||
return time.Now().Add(ss.server.maxIdle)
|
||||
return time.Now().Add(ss.server.timeout)
|
||||
}
|
||||
|
||||
// Send requested message, store errors in Session.sendError
|
||||
|
||||
Reference in New Issue
Block a user