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

Conversation

@ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Sep 20, 2023

This PR informs user that the platform is marked in maintenance mode by WS, in the framework mode


The idea is the following:

  • if an error ["error", 20060, "maintenance"] https://docs.bitfinex.com/docs/rest-general catches when fetching data from bfx api
  • send emitMaintenanceTurnedOn event by WS
  • also adds emitMaintenanceTurnedOff event which will be sent from the framework part in case maintenance mode is turned off
  • in UI if the event is gotten show a corresponding message to inform the user that some features are unavailable

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