From 9568e49c41230ade8b87a876be450480a454f8c5 Mon Sep 17 00:00:00 2001 From: JubbeArt Date: Sun, 26 Aug 2018 00:44:58 +0200 Subject: [PATCH] 25k comments from Pushshift apperently craches the site, changed to 20k instead --- package.json | 2 +- src/api/pushshift/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0a5aba9..81d966c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "removeddit", - "version": "1.1.6", + "version": "1.1.7", "description": "View removed comments from reddit", "main": "src/index.js", "repository": { diff --git a/src/api/pushshift/index.js b/src/api/pushshift/index.js index ba48640..bcb6bc5 100644 --- a/src/api/pushshift/index.js +++ b/src/api/pushshift/index.js @@ -29,7 +29,7 @@ export const getComments = threadID => { link_id: toBase10(threadID) } }, - size: 25000, + size: 20000, _source: [ 'author', 'body', 'created_utc', 'parent_id', 'score', 'subreddit', 'link_id' ]