Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Increase polling interval when not focused. - Closes #693
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Sep 1, 2017
1 parent 27195e4 commit 1438802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
* The interval of syncTick event
*/
export const SYNC_ACTIVE_INTERVAL = 10000;
export const SYNC_INACTIVE_INTERVAL = 15000;
export const SYNC_INACTIVE_INTERVAL = 120000;

0 comments on commit 1438802

Please sign in to comment.