Merge pull request #2165 from vnpy/master

[Mod] change thread worker no
This commit is contained in:
vn.py 2019-10-29 13:44:36 +08:00 committed by GitHub
commit 6b11836816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ class CtaEngine(BaseEngine):
self.stop_order_count = 0 # for generating stop_orderid self.stop_order_count = 0 # for generating stop_orderid
self.stop_orders = {} # stop_orderid: stop_order self.stop_orders = {} # stop_orderid: stop_order
self.init_executor = ThreadPoolExecutor(max_workers=3) self.init_executor = ThreadPoolExecutor(max_workers=1)
self.rq_client = None self.rq_client = None
self.rq_symbols = set() self.rq_symbols = set()