Reduce fetchGithub rateLimit

This commit is contained in:
Eric Jinks 2018-02-16 11:42:00 +10:00
parent 655e4e5038
commit bae5ae2526

View file

@ -29,7 +29,7 @@ const parseYaml = data => {
return yaml.safeLoad(data) || {} return yaml.safeLoad(data) || {}
} }
export const fetchContent = async (rateLimit = 100) => { export const fetchContent = async (rateLimit = 35) => {
if (!window.localStorage || !window.netlifyIdentity) { if (!window.localStorage || !window.netlifyIdentity) {
return Promise.resolve(null) return Promise.resolve(null)
} }