diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-31 12:42:31 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-31 12:42:31 +0200 |
commit | 85eb3b2920189af24f16d8a28503bddc32989b48 (patch) | |
tree | 353164bb1be66a9285b186ee358a1abcc1d4e9a3 /lib | |
parent | 809f448ef7ee58980c56bb70a48495efd1f26894 (diff) | |
download | nextcloud-server-85eb3b2920189af24f16d8a28503bddc32989b48.tar.gz nextcloud-server-85eb3b2920189af24f16d8a28503bddc32989b48.zip |
Fix wording of undeliverable push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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 148ad3e912d..d758cae428f 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() < 5000; + $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 500; $pushAllowed = $isFairUse ? 'yes' : 'no'; $this->cache->set('push_fair_use', $pushAllowed, 3600); } |