diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-05 20:26:04 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-05 20:26:04 +0100 |
commit | 08391db3291c21a7bbbd5bd0719fd97987b2d57a (patch) | |
tree | 31372a48ef4836ab84390d5f1f9b10f5c659d96b | |
parent | set default limit to 100. (diff) | |
download | newspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.tar.gz newspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.tar.bz2 newspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.zip |
set again to 5...
-rwxr-xr-x | manager.py | 2 | ||||
-rw-r--r-- | pyaggr3g470r/controllers/feed.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -81,7 +81,7 @@ def db_create(): db.session.commit() @manager.command -def fetch(user, password, limit=10): +def fetch(user, password, limit=100): "Crawl the feeds with the client crawler." from pyaggr3g470r.lib.crawler import CrawlerScheduler scheduler = CrawlerScheduler(user, password) diff --git a/pyaggr3g470r/controllers/feed.py b/pyaggr3g470r/controllers/feed.py index 6550d8c9..a3cdcddd 100644 --- a/pyaggr3g470r/controllers/feed.py +++ b/pyaggr3g470r/controllers/feed.py @@ -3,7 +3,7 @@ from .abstract import AbstractController from pyaggr3g470r.models import Feed DEFAULT_MAX_ERROR = 3 -DEFAULT_LIMIT = 100 +DEFAULT_LIMIT = 5 class FeedController(AbstractController): |