increment_cache_key should start with 1, obviously
@@ -6,7 +6,7 @@ def increment_cache_key(cache_key):
try:
cache.incr(cache_key)
except ValueError:
- cache.set(cache_key, 0, None)
+ cache.set(cache_key, 1, None)
def stats_snapshot(reset=True):
