aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-11-21 10:49:01 +0100
committerGitHub <noreply@github.com>2022-11-21 10:49:01 +0100
commitfab277647e9fcae494c3c3bc4912a751529d0668 (patch)
tree8c21b59bcb83ba462c9b7ab5981ea30de1f91223 /lib
parentaad8b303985543fab9b9f9c01b6cca9dc4f7807e (diff)
parentd1f2e5e967884e148e2480e470d6886977c5941e (diff)
downloadnextcloud-server-fab277647e9fcae494c3c3bc4912a751529d0668.tar.gz
nextcloud-server-fab277647e9fcae494c3c3bc4912a751529d0668.zip
Merge pull request #35251 from nextcloud/bugfix/noid/increase-fairuse-limit
Increase the fair-use push limit to 1.000 users
Diffstat (limited to 'lib')
-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);
}