aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Notification
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-11-18 14:44:41 +0100
committerJoas Schilling <coding@schilljs.com>2022-11-18 15:39:23 +0100
commitd1f2e5e967884e148e2480e470d6886977c5941e (patch)
tree7341c954d59859990dcc2a9dc1c99228502f2f66 /lib/private/Notification
parent473647a467d807703818f3d9f55352825a345bea (diff)
downloadnextcloud-server-d1f2e5e967884e148e2480e470d6886977c5941e.tar.gz
nextcloud-server-d1f2e5e967884e148e2480e470d6886977c5941e.zip
Increase the fair-use push limit to 1.000 users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Notification')
-rw-r--r--lib/private/Notification/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index d758cae428f..3d77f643d93 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -305,7 +305,7 @@ class Manager implements IManager {
* users overload our infrastructure. For this reason we have to rate-limit the
* use of push notifications. If you need this feature, consider using Nextcloud Enterprise.
*/
- $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 500;
+ $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 1000;
$pushAllowed = $isFairUse ? 'yes' : 'no';
$this->cache->set('push_fair_use', $pushAllowed, 3600);
}