reduce polling rate

This commit is contained in:
sadposter 2021-12-05 15:02:10 +00:00
parent f150d0a105
commit e55f1c58df
3 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ const startFetching = ({ timeline = 'friends', credentials, store, userId = fals
fetchAndUpdate({ timeline, credentials, store, showImmediately, userId, tag })
const boundFetchAndUpdate = () =>
fetchAndUpdate({ timeline, credentials, store, userId, tag })
return promiseInterval(boundFetchAndUpdate, 10000)
return promiseInterval(boundFetchAndUpdate, 20000)
}
const timelineFetcher = {
fetchAndUpdate,