summaryrefslogtreecommitdiffstats
path: root/kolabd/__init__.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 19:42:11 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 19:42:11 +0000
commitcd89058ed3fa4b1def41b6ca97c398c8de6ed1c2 (patch)
treea3569bdbf6098d15ac05646ea4d36963ae5ddb08 /kolabd/__init__.py
parent18f28384acd7fc91b1e5b814cd29d0f52cfcb9e9 (diff)
downloadpykolab-cd89058ed3fa4b1def41b6ca97c398c8de6ed1c2.tar.gz
Increment thread_count
Diffstat (limited to 'kolabd/__init__.py')
-rw-r--r--kolabd/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 557957d..0e7f756 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -62,6 +62,7 @@ class KolabDaemon(object):
try:
if self.conf.fork_mode:
+ self.thread_count += 1
pid = os.fork()
else:
self.do_sync()