Browse Source

Merge branch 'master' of github.com:gorilla/context

Kamil Kisiel 12 years ago
parent
commit
37ad08d495
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      context.go

+ 1
- 1
context.go View File

@ -92,7 +92,7 @@ func Purge(maxAge int) int {
datat = make(map[*http.Request]int64)
} else {
min := time.Now().Unix() - int64(maxAge)
for r, _ := range data {
for r := range data {
if datat[r] < min {
clear(r)
count++


Loading…
Cancel
Save