From 884810fa09d17cbda9e508d73408e978172247d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tao=20Bror=20Bojl=C3=A9n?= Date: Fri, 8 Mar 2019 16:05:42 +0000 Subject: [PATCH] set status limit to 40 per page --- backend/scraper/management/commands/scrape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/scraper/management/commands/scrape.py b/backend/scraper/management/commands/scrape.py index 4ef1899..233ec5c 100644 --- a/backend/scraper/management/commands/scrape.py +++ b/backend/scraper/management/commands/scrape.py @@ -25,7 +25,7 @@ SEED = 'p.a3.pm' TIMEOUT = 20 # seconds NUM_THREADS = 16 # roughly 40MB each PERSONAL_INSTANCE_THRESHOLD = 10 # instances with < this many users won't be crawled -MAX_STATUSES_PER_PAGE = 100 +MAX_STATUSES_PER_PAGE = 40 STATUS_SCRAPE_LIMIT = 5000 INSTANCE_SCRAPE_LIMIT = 50 # note: this does not include newly discovered instances! they will always be crawled.