Merge pull request #11635 from nextcloud/fix/admin/caldav-rate-limit-occ

[stable28] fix(admin): Fix caldav instructions for occ config:app:set
This commit is contained in:
Christoph Wurst 2024-03-13 12:53:35 +01:00 committed by GitHub
commit 3c66321815
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,15 +148,15 @@ Rate limits
Nextcloud rate limits the creation of calendars and subscriptions if too many items are created within a short time frame. The default is 10 calendars or subscriptions per hour. This can be customized as follows::
# Set limit to 15 items per 30 minutes
php occ config:app:set calendar rateLimitCalendarCreation --type=integer --value=15
php occ config:app:set calendar rateLimitPeriodCalendarCreation --type=integer --value=1800
php occ config:app:set dav rateLimitCalendarCreation --value=15
php occ config:app:set dav rateLimitPeriodCalendarCreation --value=1800
Additionally, the maximum number of calendars and subscriptions a user may create is limited to 30 items. This can be customized too::
# Allow users to create 50 calendars/subscriptions
php occ config:app:set calendar maximumCalendarsSubscriptions --type=integer --value=50
php occ config:app:set dav maximumCalendarsSubscriptions --value=50
or::
# Allow users to create calendars/subscriptions without restriction
php occ config:app:set calendar maximumCalendarsSubscriptions --type=integer --value=-1
php occ config:app:set dav maximumCalendarsSubscriptions --value=-1