Fix expiration constant.
Dmitry Chestnykh dmitry@codingrobots.com
Mon, 16 Jan 2012 15:14:49 +0100
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
captcha.go
→
captcha.go
@@ -49,6 +49,7 @@ import (
"bytes" "errors" "io" + "time" ) const (@@ -58,7 +59,7 @@ // The number of captchas created that triggers garbage collection used
// by default store. CollectNum = 100 // Expiration time of captchas used by default store. - Expiration = 10 * 60 // 10 minutes + Expiration = 10 * time.Minute ) var (