Reduce Firebase control channel keepalive message

This commit is contained in:
Philipp Heckel 2022-01-01 22:08:55 +01:00
parent 65a53c1100
commit fe2988bb38
2 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ const (
DefaultMinDelay = 10 * time.Second
DefaultMaxDelay = 3 * 24 * time.Hour
DefaultMessageLimit = 4096
DefaultFirebaseKeepaliveInterval = time.Hour
DefaultFirebaseKeepaliveInterval = 3 * time.Hour // Not too frequently to save battery
)
// Defines all the limits