services: all pseudo-clients join a configurable channel (default #services)
All checks were successful
CI / check (push) Successful in 3m39s
All checks were successful
CI / check (push) Successful in 3m39s
This commit is contained in:
parent
657154e268
commit
f2774f13fe
3 changed files with 25 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue