File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
ocean_provider/file_types Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ AQUARIUS_URL=https://aquarius.marketplace.dev-ocean.com
66PARITY_ADDRESS1 = 0x00bd138abd70e2f00903268f3db08f2d25677c9e
77PARITY_PASSWORD1 = node0
88PARITY_KEYFILE1 = tests/resources/consumer_key_file.json
9+ REQUEST_TIMEOUT = 10
Original file line number Diff line number Diff line change 1515
1616logger = logging .getLogger (__name__ )
1717
18- REQUEST_TIMEOUT = 3
1918CHUNK_SIZE = 8192
2019
2120
@@ -154,7 +153,7 @@ def _get_func_and_args(self):
154153 "url" : url ,
155154 "stream" : True ,
156155 "headers" : self .headers ,
157- "timeout" : REQUEST_TIMEOUT ,
156+ "timeout" : int ( os . getenv ( " REQUEST_TIMEOUT" , 10 )) ,
158157 }
159158
160159 if self .userdata :
Original file line number Diff line number Diff line change 1818 D:NETWORK_URL ={{" 8996" : " http://127.0.0.1:8545" }}
1919 D:AQUARIUS_URL =http://172.15.0.5:5000
2020 D:STORAGE_PATH =ocean-provider.db
21+ D:REQUEST_TIMEOUT =10
You can’t perform that action at this time.
0 commit comments