max_vevent_rrule_occurrence: rename option
This commit is contained in:
@@ -106,7 +106,7 @@ class StorageBase(storage.BaseStorage):
|
||||
"logging", "storage_cache_actions_on_debug")
|
||||
self._max_resource_size = configuration.get(
|
||||
"server", "max_resource_size")
|
||||
self._max_vevent_rrule_entries = configuration.get("server", "max_vevent_rrule_entries")
|
||||
self._max_vevent_rrule_occurrence = configuration.get("server", "max_vevent_rrule_occurrence")
|
||||
|
||||
def _get_collection_root_folder(self) -> str:
|
||||
return os.path.join(self._filesystem_folder, "collection-root")
|
||||
|
||||
@@ -124,7 +124,7 @@ class CollectionPartGet(CollectionPartCache, CollectionPartLock,
|
||||
vobject_items = radicale_item.read_components(
|
||||
raw_text.decode(self._encoding))
|
||||
radicale_item.check_and_sanitize_items(
|
||||
vobject_items, tag=self.tag, max_vevent_rrule_entries=self._storage._max_vevent_rrule_entries)
|
||||
vobject_items, tag=self.tag, max_vevent_rrule_occurrence=self._storage._max_vevent_rrule_occurrence)
|
||||
vobject_item, = vobject_items
|
||||
temp_item = radicale_item.Item(
|
||||
collection=self, vobject_item=vobject_item)
|
||||
|
||||
Reference in New Issue
Block a user