From bae5ae2526436718703cf8732fb8338448cd4a50 Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Fri, 16 Feb 2018 11:42:00 +1000 Subject: [PATCH] Reduce fetchGithub rateLimit --- src/util/fetch-content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/fetch-content.js b/src/util/fetch-content.js index 2c2ad56..50240ab 100644 --- a/src/util/fetch-content.js +++ b/src/util/fetch-content.js @@ -29,7 +29,7 @@ const parseYaml = data => { return yaml.safeLoad(data) || {} } -export const fetchContent = async (rateLimit = 100) => { +export const fetchContent = async (rateLimit = 35) => { if (!window.localStorage || !window.netlifyIdentity) { return Promise.resolve(null) }