Statics§
- UPSTREAM_
REQUEST_ COUNTER - Optional but useful: counts actual upstream RPC calls to Solana. This is different from REQUEST_COUNTER which counts requests handled by this layer.
Functions§
- run_
rpc_ cache_ once - Runs one cache cycle (warm-up) and exits.
Intended for:
svo rpc-cache --once(cronjob/init-container use). - start_
rpc_ cache - Starts the background RPC cache loop (spawns a task and returns immediately).