log
graph
tags
bookmarks
branches
changeset
browse
file
diff
comparison
annotate
file log
raw
help
Mercurial
>
public
>
sg101
log gpp/antispam/decorators.py @ 506:
09a9402e4a71
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
less
more
|
(0)
-2
tip
age
author
description
Sat, 03 Dec 2011 19:13:38 +0000
Brian Neal
Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
Sun, 25 Sep 2011 00:49:05 +0000
Brian Neal
Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
less
more
|
(0)
-2
tip