X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=python%2Fashd%2Fserve.py;h=a025cee4de1e6342ccb5718383b38d037aea0919;hb=9c38d6e8568186c47103a9980235595b1962c081;hp=0197d47daf08f3d469b3b450a91641aadc094248;hpb=5c6e20a6cda40337414bb886ae7f0734085b7408;p=ashd.git diff --git a/python/ashd/serve.py b/python/ashd/serve.py index 0197d47..a025cee 100644 --- a/python/ashd/serve.py +++ b/python/ashd/serve.py @@ -144,7 +144,7 @@ class freethread(handler): th = reqthread(target=self.run, args=[req]) th.start() while th.is_alive() and th not in self.current: - self.tcond.wait() + self.tcond.wait(1) def run(self, req): try: @@ -214,7 +214,7 @@ class resplex(handler): th = reqthread(target=self.handle1, args=[req]) th.start() while th.is_alive() and th not in self.current: - self.tcond.wait() + self.tcond.wait(1) def handle1(self, req): try: