Permalink
Browse files

Cleanup tweak

git-svn-id: https://potato.codebasehq.com/getfavicon/getfavicon.svn/trunk@22 0c1c7bd3-9391-4859-b94e-4e2dcdc6a516
  • Loading branch information...
1 parent 96a96a0 commit 42ffeb171c18f68b3811e224f5e2ba2214449667 jason committed Aug 27, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 cron.yaml
  2. +1 −1 main.py
View
2 cron.yaml
@@ -1,4 +1,4 @@
cron:
-- description: Hourly cache cleanup
+- description: Cache cleanup
url: /_cleanup
schedule: every 1 minutes
View
2 main.py
@@ -55,7 +55,7 @@ class cleanup(BaseHandler):
def get(self):
iconCacheCleanQuery = favIcon.gql("where dateCreated < :1",datetime.now()-timedelta(days=DS_CACHE_TIME))
- iconCacheCleanResults = iconCacheCleanQuery.fetch(100)
+ iconCacheCleanResults = iconCacheCleanQuery.fetch(500)
db.delete(iconCacheCleanResults)

0 comments on commit 42ffeb1

Please sign in to comment.