1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-25 22:08:03 +02:00

55s keepalive, 65s did not work; unsure why

This commit is contained in:
Philipp Heckel 2022-01-01 22:48:17 +01:00
parent 91ad69dd00
commit 47b491b6e2
2 changed files with 3 additions and 3 deletions
server

View file

@ -8,7 +8,7 @@ import (
const (
DefaultListenHTTP = ":80"
DefaultCacheDuration = 12 * time.Hour
DefaultKeepaliveInterval = 65 * time.Second // Not too frequently to save battery (Android read timeout is 77s!)
DefaultKeepaliveInterval = 55 * time.Second // Not too frequently to save battery (Android read timeout is 77s!)
DefaultManagerInterval = time.Minute
DefaultAtSenderInterval = 10 * time.Second
DefaultMinDelay = 10 * time.Second