From 93134fc76105166a750500a8008c3b010677be80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 27 Apr 2013 14:06:05 +0200 Subject: [PATCH] limit podcasts_need_update() to <=100 entries --- mygpo/db/couchdb/podcast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mygpo/db/couchdb/podcast.py b/mygpo/db/couchdb/podcast.py index af5e94b5..dc968347 100644 --- a/mygpo/db/couchdb/podcast.py +++ b/mygpo/db/couchdb/podcast.py @@ -417,6 +417,7 @@ def podcasts_need_update(): res = db.view('episodes/need_update', group_level = 1, reduce = True, + limit = 100, ) # TODO: this method is only used for retrieving podcasts to update; -- 2.11.4.GIT