Make app-server thread unload delay configurable
Open 💬 0 comments Opened Aug 3, 2026 by michaellatman
Problem
App-server unloads an idle thread 30 minutes after its last client disconnects. This also stops background terminals owned by that thread, including development servers.
The timeout is currently hard-coded as THREAD_UNLOADING_DELAY.
Request
Add a config.toml setting for this delay, for example:
thread_unloading_delay_minutes = 30
Keep 30 minutes as the default. Allow users with long-running background processes to increase or disable the timeout.