aboutsummaryrefslogtreecommitdiffstats
path: root/nwcpush/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'nwcpush/server.js')
-rw-r--r--nwcpush/server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/nwcpush/server.js b/nwcpush/server.js
index 947b52e..a6fd7c7 100644
--- a/nwcpush/server.js
+++ b/nwcpush/server.js
@@ -370,7 +370,7 @@ async function wake(servicePk, eventId, ev) {
let ok = 0;
for (const r of targets) {
try {
- await deliver(r.sub, payload, { TTL: 60, urgency: 'high' });
+ await deliver(r.sub, payload, { TTL: 120, urgency: 'high' }); // the request window; a phone in deep sleep gets the wake late rather than never
ok++;
} catch (e) {
// 404/410 mean the browser dropped the subscription: forget it.