We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1659ac commit d0e7abaCopy full SHA for d0e7aba
src/main.rs
@@ -4,11 +4,13 @@ extern crate log;
4
use std::{env, fs};
5
use std::io::Write;
6
use std::sync::Arc;
7
+use std::time::Duration;
8
9
use env_logger::fmt::Color;
10
use k8s_openapi::chrono::Local;
11
use kube::CustomResourceExt;
12
use log::Level;
13
+use tokio::time::sleep;
14
15
use crate::config::EpsilonConfig;
16
use crate::context::Context;
@@ -123,6 +125,8 @@ async fn main() -> EResult<()> {
123
125
124
126
info!("Instance provider has been started");
127
128
+ sleep(Duration::from_secs(10)).await;
129
+
130
TaskBuilder::new()
131
.ignite_task(ProxyTask::init(Arc::clone(&context)).await?, 6000)
132
.ignite_task(HubTask::init(Arc::clone(&context)).await?, 2000)
0 commit comments