Reduce interval to 15s
This commit is contained in:
parent
f73a942b61
commit
6e3494488a
|
@ -9,7 +9,7 @@ import useInterval from '../utils/useInterval';
|
|||
import usePageVisibility from '../utils/usePageVisibility';
|
||||
|
||||
const STREAMING_TIMEOUT = 1000 * 3; // 3 seconds
|
||||
const POLL_INTERVAL = 1000 * 60; // 1 minute
|
||||
const POLL_INTERVAL = 15_000; // 15 seconds
|
||||
|
||||
export default memo(function BackgroundService({ isLoggedIn }) {
|
||||
// Notifications service
|
||||
|
|
|
@ -36,7 +36,7 @@ function Timeline({
|
|||
boostsCarousel,
|
||||
fetchItems = () => {},
|
||||
checkForUpdates = () => {},
|
||||
checkForUpdatesInterval = 60_000, // 1 minute
|
||||
checkForUpdatesInterval = 15_000, // 15 seconds
|
||||
headerStart,
|
||||
headerEnd,
|
||||
timelineStart,
|
||||
|
|
Loading…
Reference in a new issue