Call Collect on a separate goroutine.
Dmitry Chestnykh dmitry@codingrobots.com
Thu, 21 Apr 2011 18:14:28 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
captcha.go
→
captcha.go
@@ -73,7 +73,7 @@ store.ids[id] = ns
store.exp.PushBack(expValue{time.Seconds(), id}) store.colNum++ if store.colNum > CollectNum { - Collect() + go Collect() store.colNum = 0 } return id