limit multiprocessing queue to avoid memory leak on failing connections
This commit is contained in:
parent
fe39c2712d
commit
11c2c8afe3
@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
|
||||
class Client(object):
|
||||
def __init__(self, conn):
|
||||
self.conn = conn
|
||||
self.multiprocessingPipe = Queue()
|
||||
self.multiprocessingPipe = Queue(100)
|
||||
|
||||
def mp_passthru():
|
||||
run = True
|
||||
|
Loading…
Reference in New Issue
Block a user