mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
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:
commit
3c66321815
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user