Skip to content

Commit 13f1986

Browse files
chfastaxic
authored andcommitted
jsonrpcproxy: Bump version to 0.2
1 parent d35a49e commit 13f1986

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/jsonrpcproxy.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
import pywintypes
3434

3535

36-
VERSION = '0.1.0a1'
36+
VERSION = '0.2'
3737
BUFSIZE = 32
3838
DELIMITER = ord('\n')
39+
BACKEND_CONNECTION_TIMEOUT=10.0
3940
INFO = """JSON-RPC Proxy
4041
4142
Version: {version}
@@ -243,7 +244,7 @@ def process(self, request):
243244

244245
def run(self):
245246
self.conn = get_ipc_connector(self.backend_address)
246-
self.conn.check_connection(timeout=10.0)
247+
self.conn.check_connection(timeout=BACKEND_CONNECTION_TIMEOUT)
247248

248249
print("JSON-RPC HTTP Proxy: {} -> {}".format(
249250
self.backend_address, self.proxy_url), file=sys.stderr, flush=True)

0 commit comments

Comments
 (0)