aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-05 20:26:04 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-05 20:26:04 +0100
commit08391db3291c21a7bbbd5bd0719fd97987b2d57a (patch)
tree31372a48ef4836ab84390d5f1f9b10f5c659d96b
parentset default limit to 100. (diff)
downloadnewspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.tar.gz
newspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.tar.bz2
newspipe-08391db3291c21a7bbbd5bd0719fd97987b2d57a.zip
set again to 5...
-rwxr-xr-xmanager.py2
-rw-r--r--pyaggr3g470r/controllers/feed.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/manager.py b/manager.py
index c23f0c08..348ed9c3 100755
--- a/manager.py
+++ b/manager.py
@@ -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):
bgstack15