Take advantage of query pagination #1816
Labels
I: logic
Internal: related to the relaying logic
O: code-hygiene
Objective: cause to improve code hygiene
O: performance
Objective: cause to improve performance
Milestone
Crate
ibc_rs::relayer
Summary
In #1705, pagination of queries was used to reduce some redundant network calls. We should look at other ways in which query pagination can be used to limit unnecessary network calls.
Problem Definition
This should help to improve relayer performance. At the moment we are also simply not taking advantage of query pagination.
Proposal
Currently any query where pagination can be toggled on merely utilizes
pagination::all()
. We can search for all of these spots and evaluate whether it makes sense to limit the number of results returned from the query.Acceptance Criteria
Evaluate and update all appropriate queries being performed in the relayer to take advantage of query pagination.
clear packets
#2077For Admin Use
The text was updated successfully, but these errors were encountered: