Skip to content

Commit

Permalink
disable serial workers for now
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrademakers committed Feb 14, 2024
1 parent 7c08f67 commit 386280d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async fn main() -> anyhow::Result<()> {
let config = Config::try_from(config_path()).context("Error parsing config file")?;
let tls = load_tls_config(&config)?;
let bmc = Data::new(BmcApplication::new(config.store.write_timeout).await?);
let serial_service = Data::new(SerialConnections::new());
//let serial_service = Data::new(SerialConnections::new());
let streaming_data_service = Data::new(StreamingDataService::new());
let authentication = Arc::new(
LinuxAuthenticator::new(
Expand All @@ -83,8 +83,8 @@ async fn main() -> anyhow::Result<()> {
web::scope("/api/bmc")
.app_data(bmc.clone())
.app_data(streaming_data_service.clone())
.app_data(serial_service.clone())
.configure(serial_config)
// .app_data(serial_service.clone())
//.configure(serial_config)
// Legacy API
.configure(legacy::config),
)
Expand Down

0 comments on commit 386280d

Please sign in to comment.