From 53e07a68f5b1d9ca3798a579a340cbe552db6d04 Mon Sep 17 00:00:00 2001 From: Eli Yukelzon Date: Mon, 17 Feb 2020 09:44:34 +0100 Subject: [PATCH] fixing a screwup (#13906) Automatic Merge --- app/notification_push.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/notification_push.go b/app/notification_push.go index 03738daff9..46d9866ad3 100644 --- a/app/notification_push.go +++ b/app/notification_push.go @@ -22,8 +22,8 @@ const NOTIFICATION_TYPE_CLEAR NotificationType = "clear" const NOTIFICATION_TYPE_MESSAGE NotificationType = "message" const NOTIFICATION_TYPE_UPDATE_BADGE NotificationType = "update_badge" -const PUSH_NOTIFICATION_HUB_WORKERS = 1 -const PUSH_NOTIFICATIONS_HUB_BUFFER_PER_WORKER = 1 +const PUSH_NOTIFICATION_HUB_WORKERS = 1000 +const PUSH_NOTIFICATIONS_HUB_BUFFER_PER_WORKER = 50 type PushNotificationsHub struct { Channels []chan PushNotification