mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
Refactor the timer so instead of calling fetch directly every seconds we call it every 1 second, check if we could & should fetch (fetch isn't already/still in progress and seconds passed since last fetch) and if needed call fetch. This will also allow us to pause fetches when user is interacting with alerts so there's no whack-a-mole with buttons