X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=python3%2Fashd%2Fserve.py;fp=python3%2Fashd%2Fserve.py;h=ce17b9d2b8b1e93b14e583e2d31d57dfe3f55507;hp=ebee436e511177e6c67c6db29e8af18f8ecdaaf0;hb=9c38d6e8568186c47103a9980235595b1962c081;hpb=5c6e20a6cda40337414bb886ae7f0734085b7408 diff --git a/python3/ashd/serve.py b/python3/ashd/serve.py index ebee436..ce17b9d 100644 --- a/python3/ashd/serve.py +++ b/python3/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: