alexedwards / scs

HTTP Session Management for Go
MIT License
2.13k stars 166 forks source link

why use 'if m.opts.idleTimeout>0' in method Manager.Use #37

Closed ipiao closed 6 years ago

ipiao commented 6 years ago

when use method 'Manager.Use', i do not understand why using conditon 'm.opts.idleTimeout > 0 ', i think it is more reasonable to remove it