mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-07-13 08:18:33 +00:00
Update Globals.mc
Increased the API back off time from 1s to 2s to remove the glance's status flickering. The assumption is that the GET requests are too fast for the Bluetooth stack.
This commit is contained in:
@ -25,7 +25,7 @@ class Globals {
|
|||||||
|
|
||||||
//! Time to let the existing HTTP responses get serviced after a
|
//! Time to let the existing HTTP responses get serviced after a
|
||||||
//! `Communications.NETWORK_RESPONSE_OUT_OF_MEMORY` response code.
|
//! `Communications.NETWORK_RESPONSE_OUT_OF_MEMORY` response code.
|
||||||
static const scApiBackoff = 1000; // ms
|
static const scApiBackoff = 2000; // ms
|
||||||
|
|
||||||
//! Needs to be long enough to enable a "double ESC" to quit the application from
|
//! Needs to be long enough to enable a "double ESC" to quit the application from
|
||||||
//! an ErrorView.
|
//! an ErrorView.
|
||||||
|
Reference in New Issue
Block a user