diff --git a/src/dht_proxy_server.cpp b/src/dht_proxy_server.cpp index 647901b6cc7c25a839c7d9e79ede8c36b174e67d..7dabadf3b76d28e48e1d2e962bbb2521bb25898e 100644 --- a/src/dht_proxy_server.cpp +++ b/src/dht_proxy_server.cpp @@ -1004,7 +1004,7 @@ DhtProxyServer::sendPushNotification(const std::string& token, Json::Value&& jso notification["platform"] = type == PushType::Android ? 2 : 1; notification["data"] = std::move(json); notification["priority"] = highPriority ? "high" : "normal"; - notification["time_to_live"] = 600; + notification["time_to_live"] = 3600 * 24; // 24 hours Json::Value notifications(Json::arrayValue); notifications[0] = notification;