From cd89058ed3fa4b1def41b6ca97c398c8de6ed1c2 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Mon, 21 Feb 2011 19:42:11 +0000 Subject: Increment thread_count --- kolabd/__init__.py | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.1