fix: tokio rt builder
Some checks failed
Coverage / build (push) Has been cancelled
Install.sh / build (push) Has been cancelled
Linux / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
veeso
2024-07-22 10:36:16 +02:00
parent c49dab3888
commit dfe58e6147
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ simplelog = "^0.12"
ssh2-config = "^0.2"
tempfile = "^3.4"
thiserror = "^1"
tokio = { version = "1", features = ["rt"] }
tokio = { version = "=1.38.1", features = ["rt"] }
toml = "^0.8"
tui-realm-stdlib = "^1.3.1"
tuirealm = "^1.9.1"

View File

@@ -113,7 +113,7 @@ impl Builder {
/// Build kube client
fn kube_client(params: KubeProtocolParams) -> KubeFs {
let rt = Arc::new(
tokio::runtime::Builder::new_multi_thread()
tokio::runtime::Builder::new_current_thread()
.worker_threads(1)
.enable_all()
.build()