From 91323a21cfa509a4f0f4ea0dcfd658c390a7e4f8 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sat, 13 Mar 2021 02:31:03 -0300 Subject: [PATCH] add hub_timeout and propagate it to network code --- lbry/conf.py | 1 + lbry/wallet/__init__.pyc | Bin 0 -> 1268 bytes lbry/wallet/manager.py | 2 ++ lbry/wallet/network.py | 1 + lbry/wallet/orchstr8/node.py | 1 + tests/integration/blockchain/test_network.py | 10 ++++++++++ 6 files changed, 15 insertions(+) create mode 100644 lbry/wallet/__init__.pyc diff --git a/lbry/conf.py b/lbry/conf.py index 96b4b4389..5edbd4108 100644 --- a/lbry/conf.py +++ b/lbry/conf.py @@ -628,6 +628,7 @@ class Config(CLIConfig): # protocol timeouts download_timeout = Float("Cumulative timeout for a stream to begin downloading before giving up", 30.0) blob_download_timeout = Float("Timeout to download a blob from a peer", 30.0) + hub_timeout = Float("Timeout when making a hub request", 30.0) peer_connect_timeout = Float("Timeout to establish a TCP connection to a peer", 3.0) node_rpc_timeout = Float("Timeout when making a DHT request", constants.RPC_TIMEOUT) diff --git a/lbry/wallet/__init__.pyc b/lbry/wallet/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d4854844fe6b60a10a9b0972d81a6424f412ff41 GIT binary patch literal 1268 zcmZ8g+in{-5IyomzRI`wQahJAP9OB*RRaVGPy|JrIDmsVPC^MN%9q7@$x1}XU4cv4 zaeuOZ(I3cjfzFUh>_o)Qa?ad#&WvV1cb5PC=fAwf^fyEA-{@)30u&%gwjf(jGmtY- zvyih;bC7dT^H6QrdAK%Y8*Tw|0d5g;5pD@`2`%CFfYp_Rfk02kBzK(u(gO~`5BkUm9O)j#sc0CR8*BC6>%X+uRY|})nO>d06o0-SUCw$d z%iE%&BtF3lWINa4s`ejm3ZH334l!iPr$OzaC=mmg2H8IHoMOI?MOh%^6Q zmi43xVU6!fdEGSA>S2kXzNv;*ztPuWpR`k>ec{WIDGPg|gZ9o;hDa&9vt$iCuz@eC zrYM7{tH{v1Nf=K;m?zWgif&!r`mjnOS^A|n;}AomJ?Y7d^YuTRnV{dAPo|37aZ-fh zf<}A8&8aSw_RV?sC(g|5=6O{sovT8-y2|rdZHmzzeG6Qe?>r{nk_S&T&ztdOS_49O z+-Wrgw;;GMwG&aGm5vbDG1RG-l8^~mdmRWG0(Z5K;5KNEYPY^s7 z!97KW!VS5C$0{~iY_XYZHjztlhrw+IxsI9=CUzL+y^Ox2$eP$Ay-Uw6(J;pUr(SBe qm*+I)kmuR>I%a(CYBjO?S6