Revision a298fd5a
b/lib/utils.py | ||
---|---|---|
567 | 567 |
|
568 | 568 |
while fdmap: |
569 | 569 |
if poll_timeout: |
570 |
current_timeout = poll_timeout() |
|
570 |
current_timeout = poll_timeout() * 1000
|
|
571 | 571 |
if current_timeout < 0: |
572 | 572 |
if linger_timeout is None: |
573 | 573 |
logging.warning(msg_timeout) |
... | ... | |
575 | 575 |
timeout_action = _TIMEOUT_TERM |
576 | 576 |
IgnoreProcessNotFound(os.kill, child.pid, signal.SIGTERM) |
577 | 577 |
linger_timeout = RunningTimeout(_linger_timeout, True).Remaining |
578 |
lt = linger_timeout() |
|
578 |
lt = linger_timeout() * 1000
|
|
579 | 579 |
if lt < 0: |
580 | 580 |
break |
581 | 581 |
|
Also available in: Unified diff