services: all pseudo-clients join a configurable channel (default #services)
All checks were successful
CI / check (push) Successful in 3m39s

This commit is contained in:
Jean Chevronnet 2026-07-17 01:23:18 +00:00
parent 657154e268
commit f2774f13fe
No known key found for this signature in database
3 changed files with 25 additions and 3 deletions

View file

@ -190,6 +190,7 @@ async fn main() -> Result<()> {
let service_host = if cfg.server.service_host.is_empty() { &cfg.server.name } else { &cfg.server.service_host };
engine.lock().await.set_service_host(service_host);
engine.lock().await.set_service_oper_type(cfg.server.service_oper_type.clone());
engine.lock().await.set_services_channel(cfg.server.services_channel.clone());
engine.lock().await.set_log_channel(cfg.log.as_ref().map(|l| l.channel.clone()));
if enabled("debugserv") {
// DebugServ speaks the live feed into the log channel; give the engine its uid.