give-me-coinsMonitoringApp
give-me-coinsMonitoringApp copied to clipboard
GMCPoolService does not respect update interval preference
GMCPoolService
does not respect the user-specified update interval. Instead, it does a GET https://give-me-coins.com/pool/api-ltc
every 10 seconds which might be excessive.
Should GET https://give-me-coins.com/pool/api-ltc
only be done as often as the user has specified via the Spinner
on the BarCodeReaderFragment
fragment (30 seconds, 1 minute, ...., 1 hour)?
Or is the current behaviour (update every 10 seconds) correct? Perhaps a longer hardcoded update interval could be discussed, something like 1 minute or 5 minutes?
We do not want to give user much of a chance at this moment, but in future we will respect the Spinner selection. Problem is that data updates once every minute, yet we update faster, so that we capture change as soon as it happens.