From ab35a939c8d62da2c61f4b68151fb2258b4a42f4 Mon Sep 17 00:00:00 2001 From: sh Date: Wed, 9 Sep 2026 07:36:38 +0000 Subject: [PATCH] ntf: increase APNS push workers to 64 --- src/Simplex/Messaging/Notifications/Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Messaging/Notifications/Server.hs b/src/Simplex/Messaging/Notifications/Server.hs index 14b560c53..8f3903fd6 100644 --- a/src/Simplex/Messaging/Notifications/Server.hs +++ b/src/Simplex/Messaging/Notifications/Server.hs @@ -660,7 +660,7 @@ pushNotification s srvHost_ isOwn tkn@NtfTknRec {ntfTknId, token = token@(Device (getOrCreatePushWorker s (srvHost_, pp, hash (unEntityId ntfTknId) `mod` pushWorkersPerServer) isOwn >>= atomically . (`writeTBQueue` (tkn, ntf))) (logWarn "skipping disabled APNS test push provider") where - pushWorkersPerServer = 8 + pushWorkersPerServer = 64 pushProviderAllowed :: DeviceToken -> M Bool pushProviderAllowed (DeviceToken PPApnsTest _) = asks (allowTestPushProvider . config)