This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
pypihub
mirror of
https://github.com/brettlangdon/pypihub.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Merge branch 'master' of github.com:gorilla/context
Kamil Kisiel
12 years ago
parent
257e3549c5
9192307f0e
commit
37ad08d495
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
++
Write
Preview
Loading…
Cancel
Save