diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/services/FailureHandler.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/services/FailureHandler.kt
index c6d0be3..07cbc16 100644
--- a/app/src/main/java/org/unifiedpush/distributor/nextpush/services/FailureHandler.kt
+++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/services/FailureHandler.kt
@@ -43,7 +43,7 @@ object FailureHandler {
if (SSEListener.started && !SSEListener.pinged) {
Log.d(TAG, "The service has started and it has never received a ping.")
nFailsBeforePing++
- if (nFailsBeforePing == 3) {
+ if (nFailsBeforePing == 5) {
showNoPingNotification(context)
}
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index cd391f9..107dc74 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -20,7 +20,7 @@
Warning
The service could not be started correctly. Check the configuration of your server. You may be using a reverse proxy with buffering enabled.
The server app is configured with a low keepalive: %ss. It will drain your battery. We recommend using a higher keepalive.
- NextPush was disconnected 3 times before receiving the ping. You probably have a problem with your server configuration. Your reverse proxy timeout is probably too low.
+ NextPush was disconnected 5 times before receiving the ping. You probably have a problem with your server configuration. Your reverse proxy timeout is probably too low.
Foreground
Nextcloud Files is not installed on your device.\nPlease install it
market://details?id=com.nextcloud.client