Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/
4 scripts/
@@ -8,7 +8,7 @@
from pylons import g
from r2.models import Account, Link, Comment, Vote
from r2.lib.db.tdb_sql import get_thing_table, get_rel_table
-from r2.lib.db.operators import asc
+from r2.lib.db.operators import asc, desc
from r2.lib.utils import timeago
def subreddit_stats(config, ranges):
@@ -129,7 +129,7 @@ def run_stats(f):
print >> sys.stderr, 'finished:', stats
- g.memcache.set('about_reddit_stats', stats)
+ g.memcache.set('about_reddit_stats', stats, time=60*60*48)
def main(config_file):
parser = ConfigParser.RawConfigParser()

No commit comments for this range

Something went wrong with that request. Please try again.