Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62220f3
)
python3: Fixed name conflict.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 4 Apr 2016 00:49:03 +0000
(
02:49
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 4 Apr 2016 00:49:03 +0000
(
02:49
+0200)
python3/ashd/serve.py
patch
|
blob
|
blame
|
history
diff --git
a/python3/ashd/serve.py
b/python3/ashd/serve.py
index
7811f66
..
e156cd6
100644
(file)
--- a/
python3/ashd/serve.py
+++ b/
python3/ashd/serve.py
@@
-224,7
+224,7
@@
class threadpool(handler):
return ret
def handle(self, req):
- s
tart
= False
+ s
pawn
= False
with self.qlk:
if self.timeout is not None:
now = start = time.time()
@@
-239,8
+239,8
@@
class threadpool(handler):
self.queue.append(req)
self.qcond.notify()
if len(self.waiting) < 1:
- s
tart
= True
- if s
tart
:
+ s
pawn
= True
+ if s
pawn
:
with self.clk:
if len(self.current) < self.max:
th = reqthread(target=self.run)