BoostryJP / ibet-Wallet-API

A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9 stars 0 forks source link

[FEATURE] Improve latency of `/Companies` #1201

Closed purplesmoke05 closed 2 years ago

purplesmoke05 commented 2 years ago

Is your feature request related to a problem? Please describe.

In current implementation, response time of /Companies endpoint will get more time if there are more listing tokens, because the endpoint requests to on-chain per a token in her logic.

https://github.com/BoostryJP/ibet-Wallet-API/blob/7fc7b9a5a441a0343c12be11488e5749623d6c8f/app/api/routers/company_info.py#L97-L112

Describe the solution you'd like