Rework configuration
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# This file is part of Radicale Server - Calendar Server
|
||||
# Copyright © 2014 Jean-Marc Martins
|
||||
# Copyright © 2012-2017 Guillaume Ayoub
|
||||
# Copyright © 2017-2018 Unrud <unrud@outlook.com>
|
||||
# Copyright © 2017-2019 Unrud <unrud@outlook.com>
|
||||
#
|
||||
# This library is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -96,7 +96,7 @@ class CollectionSyncMixin:
|
||||
else:
|
||||
# clean up old sync tokens and item cache
|
||||
self._clean_cache(token_folder, os.listdir(token_folder),
|
||||
max_age=self.configuration.getint(
|
||||
max_age=self.configuration.get(
|
||||
"storage", "max_sync_token_age"))
|
||||
self._clean_history()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user