Skip to content

Cache RPC list#13

Open
rasen68 wants to merge 29 commits intotwinleaf:mainfrom
rasen68:main
Open

Cache RPC list#13
rasen68 wants to merge 29 commits intotwinleaf:mainfrom
rasen68:main

Conversation

@rasen68
Copy link

@rasen68 rasen68 commented Feb 20, 2026

Changes

  • Implement functions in RpcClient (device/rpc.rs) for storing RPC lists to cache files in OS-appropriate cache directory based on rpc.hash, or reading from cache instead of requesting list from board if a cache exists
  • Update tio-tool rpc-list to use cache function
  • Update tio-monitor to use cache rpc list to enable tab completion

Todo

  • What happens with a hub/multiple routes
  • How to lobally invalidate cache if the rpc list changes? We can check against rpc.hash but would need to know how often to do so if we are tio-monitor, ITL, etc.

tkornack and others added 29 commits January 14, 2026 12:57
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.

2 participants