Skip to content

Commit e981739

Browse files
committed
chore: Remove unneeded pin!
1 parent 60712ad commit e981739

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

rust/operator-binary/src/main.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ use stackable_operator::{
1818
YamlSchema, cli::RunArguments, eos::EndOfSupportChecker, shared::yaml::SerializeOptions,
1919
telemetry::Tracing,
2020
};
21-
use tokio::{
22-
pin,
23-
signal::unix::{SignalKind, signal},
24-
};
21+
use tokio::signal::unix::{SignalKind, signal};
2522
use tokio_stream::wrappers::UnixListenerStream;
2623
use tonic::transport::Server;
2724
use utils::{TonicUnixStream, uds_bind_private};
@@ -154,10 +151,6 @@ async fn main() -> anyhow::Result<()> {
154151
let truststore_controller =
155152
truststore_controller::start(&client, &watch_namespace).map(Ok);
156153

157-
// NOTE (@Techassi): I'm not quite sure if there is any benefit to pinning these futures
158-
// to the stack (maybe slightly better performance), but it was there before and as such
159-
// we will keep it.
160-
pin!(csi_server, truststore_controller, eos_checker);
161154
futures::try_join!(csi_server, truststore_controller, eos_checker)?;
162155
}
163156
}

0 commit comments

Comments
 (0)