Currently, we have some RPC API from indexer such as get_cells, get_transactions, get_cells_capacity which may cost a lot of computing resources, it may occupy all the tokio tasks, and ckb can not response to other RPC APIs.
What is changed and how it works?
This PR try to fix this issue by adding limitation on computing resources for slow queries
What problem does this PR solve?
Currently, we have some RPC API from indexer such as
get_cells
,get_transactions
,get_cells_capacity
which may cost a lot of computing resources, it may occupy all the tokio tasks, and ckb can not response to other RPC APIs.What is changed and how it works?
This PR try to fix this issue by adding limitation on computing resources for slow queries
What's Changed:
Related changes
owner/repo
:Check List
Tests
Side effects
Release note