Try switch to 20s interval

This commit is contained in:
Lim Chee Aun 2024-08-04 10:09:33 +08:00
parent 99ee6c3979
commit 2aff1dc1fd

View file

@ -9,7 +9,7 @@ import useInterval from '../utils/useInterval';
import usePageVisibility from '../utils/usePageVisibility';
const STREAMING_TIMEOUT = 1000 * 3; // 3 seconds
const POLL_INTERVAL = 15_000; // 15 seconds
const POLL_INTERVAL = 20_000; // 20 seconds
export default memo(function BackgroundService({ isLoggedIn }) {
// Notifications service