diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-18 14:44:41 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-18 15:39:23 +0100 |
commit | d1f2e5e967884e148e2480e470d6886977c5941e (patch) | |
tree | 7341c954d59859990dcc2a9dc1c99228502f2f66 /lib/private/Notification | |
parent | 473647a467d807703818f3d9f55352825a345bea (diff) | |
download | nextcloud-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.php | 2 |
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); } |