Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
rpc: run get_filtered_program_accounts with task::spawn_blocking
Browse files Browse the repository at this point in the history
get_filtered_program_accounts can be used to retrieve _a list_ of
accounts that match some filters. This is CPU bound and can block the
calling thread for a significant amount of time when copying many/large
accounts.
  • Loading branch information
alessandrod committed Jan 8, 2024
1 parent 8322f72 commit 56706a9
Showing 1 changed file with 149 additions and 79 deletions.
Loading

0 comments on commit 56706a9

Please sign in to comment.