From 0f7ecd5cb46ba912c4b9a93e3aa6fa841cf5245c Mon Sep 17 00:00:00 2001 From: Killertux Date: Thu, 10 Sep 2026 15:38:00 -0300 Subject: [PATCH] Run examples over SliM stdio --- Config.toml.example | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Config.toml.example b/Config.toml.example index 95c752e..8fbf784 100644 --- a/Config.toml.example +++ b/Config.toml.example @@ -1,9 +1,9 @@ -# Command to execute the server. %p will be replaced by the port for the connection +# Command to execute the server. With port 1, %p selects the SliM stdin/stdout transport. execute_server_command = "cargo run --example calculator %p" -# Base port that will be used to start the connection pool -port = 8085 -# The size of the pool of ports to cycle through -pool_size = 20 +# SliM reserves port 1 for communication over the child process's stdin/stdout. +port = 1 +# The TCP connection pool is unused for port 1; keep one logical server slot. +pool_size = 1 # Dir with markdown files to be tested test_dir = "temoc/examples/" # File extensions to filter for markdowns. Default is "md". Not case sensitive