limit podcasts_need_update() to <=100 entries
authorStefan Kögl <stefan@skoegl.net>
Sat, 27 Apr 2013 12:06:05 +0000 (27 14:06 +0200)
committerStefan Kögl <stefan@skoegl.net>
Sat, 27 Apr 2013 12:06:05 +0000 (27 14:06 +0200)
mygpo/db/couchdb/podcast.py

index af5e94b..dc96834 100644 (file)
@@ -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;