From 682ea256152dae484f7671806adc7b8e40216a69 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 26 Aug 2021 15:32:09 +0200 Subject: [PATCH] fix: Throttle Metaculus requests. --- src/platforms/metaculus-fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/metaculus-fetch.js b/src/platforms/metaculus-fetch.js index b75686f..160aeba 100644 --- a/src/platforms/metaculus-fetch.js +++ b/src/platforms/metaculus-fetch.js @@ -79,7 +79,7 @@ export async function metaculus() { (result.publish_time < now) && (now < result.resolve_time) ) { - await sleep(2000) + await sleep(5000) let questionPage = await fetchMetaculusQuestionDescription(result.page_url) let descriptionraw = questionPage.split(`
`)[1] //.split(`
`)[1] let descriptionprocessed1 = descriptionraw.split("
")[0]