[Mod] only allow 1 thread to query rqdata
This commit is contained in:
parent
766d705e7a
commit
3613e1c41d
@ -91,7 +91,7 @@ class CtaEngine(BaseEngine):
|
||||
self.stop_order_count = 0 # for generating stop_orderid
|
||||
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_symbols = set()
|
||||
|
Loading…
Reference in New Issue
Block a user