这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Aug 18, 2023

This PR adds ability to overwrite RPC timeout


The idea is to have httpRpcTimeout and wsRpcTimeout options that can be overwritten in the electron environment for complicated reports which can have a lot of internal calls to the BFX API that can take significant time
By default:

  • httpRpcTimeout will be used hardcoded 90s timeout, as earlier
  • wsRpcTimeout will be used hardcoded 90s timeout, earlier it was 10s

Also adds a fix to provide action field for error response by WS

@ZIMkaRU ZIMkaRU force-pushed the feature/add-ability-to-overwrite-rpc-timeout branch from 768dc0e to 6274875 Compare August 18, 2023 12:02
Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants