summaryrefslogtreecommitdiffstats
path: root/kolabd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kolabd/__init__.py')
-rw-r--r--kolabd/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 34e54e7..3f43872 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -267,6 +267,9 @@ class KolabDaemon(object):
for domain in added_domains:
domain_auth[domain] = Process(domain)
domain_auth[domain].start()
+ # Pause or hammer your LDAP server to death
+ if len(added_domains) >= 5:
+ time.sleep(10)
for domain in removed_domains:
domain_auth[domain].terminate()