Reduce fetchGithub rateLimit
This commit is contained in:
parent
655e4e5038
commit
bae5ae2526
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue