Skip to main content

start_cache_server

Function start_cache_server 

Source
pub fn start_cache_server(
    port: u16,
    max_keys: usize,
    max_history: usize,
) -> Result<(), String>
Expand description

Start a standalone cache server on the given port.

This blocks the calling thread, serving requests in a synchronous loop. It runs independently of the main pylon server – no auth, no entities, no sync. Just the cache and pub/sub.