threefoldtech / web3gw

Proxy for the web3 world
Apache License 2.0
1 stars 1 forks source link

default json rpc timeout is defined in lib/tfgrid/gateways.v and used everywhere in the tfgrid module #150

Closed robvanmieghem closed 1 year ago

robvanmieghem commented 1 year ago

Is this value only reasonable for gateway calls or does it truly make sense for all tfgrid calls? If only for gateway calls, let's rename it, if not, let's move it to lib/tfgrid/tfgrid_client.v Maybe it makes sense to put it as a field on TFGridClient struct and add a send_json_rpc function to it as well which uses this field value.