summaryrefslogtreecommitdiffstats
path: root/pykolab/conf/defaults.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-10-25 10:20:11 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-10-25 10:20:11 +0200
commitf67a1132ea2048c2116d26770f6b35c19764d8c6 (patch)
treecd3a2b5b1838d07823f5f269facde3d57bdc6a48 /pykolab/conf/defaults.py
parentd428bf6c62b7a03c945719375eab966b960deb65 (diff)
downloadpykolab-f67a1132ea2048c2116d26770f6b35c19764d8c6.tar.gz
Introduce a configurable timeout for simple search and authentication requests.
Fix linting issues Increase Python3 compatibility
Diffstat (limited to 'pykolab/conf/defaults.py')
-rw-r--r--pykolab/conf/defaults.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pykolab/conf/defaults.py b/pykolab/conf/defaults.py
index 3df9709..6dc5220 100644
--- a/pykolab/conf/defaults.py
+++ b/pykolab/conf/defaults.py
@@ -19,6 +19,7 @@
import logging
+
class Defaults(object):
def __init__(self, plugins=None):
self.loglevel = logging.CRITICAL
@@ -33,10 +34,12 @@ class Defaults(object):
self.mail_attributes = ['mail', 'alias']
self.mailserver_attribute = 'mailhost'
- # when you want a new domain to be added in a short time, you should reduce this value to 10 seconds
+ # when you want a new domain to be added in a short time, you should reduce this value to
+ # 10 seconds
self.kolab_domain_sync_interval = 600
self.kolab_default_locale = 'en_US'
+ self.ldap_timeout = 10
self.ldap_unique_attribute = 'nsuniqueid'
- self.wallace_resource_calendar_expire_days = 100 \ No newline at end of file
+ self.wallace_resource_calendar_expire_days = 100