forked from LBRYCommunity/lbry-sdk
fix test
This commit is contained in:
parent
b093aa3911
commit
95ec1f3af4
1 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,8 @@ class SPVNode:
|
|||
self.hostname = 'localhost'
|
||||
self.port = 50001 + node_number # avoid conflict with default daemon
|
||||
self.udp_port = self.port
|
||||
self.elastic_notifier_port = 19080 + node_number
|
||||
self.rpc_port = 8000 + node_number
|
||||
self.session_timeout = 600
|
||||
self.stopped = False
|
||||
self.index_name = uuid4().hex
|
||||
|
@ -247,6 +249,8 @@ class SPVNode:
|
|||
'host': self.hostname,
|
||||
'tcp_port': self.port,
|
||||
'udp_port': self.udp_port,
|
||||
'rpc_port': self.rpc_port,
|
||||
'elastic_notifier_port': self.elastic_notifier_port,
|
||||
'session_timeout': self.session_timeout,
|
||||
'max_query_workers': 0,
|
||||
'es_index_prefix': self.index_name,
|
||||
|
|
Loading…
Reference in a new issue