mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
v0.11.39
This commit is contained in:
parent
016dba4ca9
commit
e9ae9782fe
|
@ -1,6 +1,6 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 11, 38)
|
VERSION = (0, 11, 39)
|
||||||
CODENAME = "the grid"
|
CODENAME = "the grid"
|
||||||
BUILD_DT = (2021, 7, 13)
|
BUILD_DT = (2021, 7, 13)
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ class HttpSrv(object):
|
||||||
"""takes an incoming tcp connection and creates a thread to handle it"""
|
"""takes an incoming tcp connection and creates a thread to handle it"""
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
||||||
if self.tp_time and now - self.tp_time > 300:
|
if now - (self.tp_time or now) > 300:
|
||||||
self.tp_q = None
|
self.tp_q = None
|
||||||
|
|
||||||
if self.tp_q:
|
if self.tp_q:
|
||||||
|
|
Loading…
Reference in a new issue