We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aff065c commit b53da07Copy full SHA for b53da07
src/console/profiling.rs
@@ -157,12 +157,11 @@
157
//! kcachegrind callgrind.out
158
//! ```
159
use std::env;
160
-use std::sync::Arc;
161
use std::time::Duration;
162
163
use tokio::time::sleep;
164
165
-use crate::{app, bootstrap};
+use crate::app;
166
167
pub async fn run() {
168
// Parse command line arguments
@@ -180,11 +179,7 @@ pub async fn run() {
180
179
return;
181
};
182
183
- let (config, app_container) = bootstrap::app::setup();
184
-
185
- let app_container = Arc::new(app_container);
186
187
- let (jobs, _registar) = app::start(&config, &app_container).await;
+ let (_app_container, jobs, _registar) = app::run().await;
188
189
// Run the tracker for a fixed duration
190
let run_duration = sleep(Duration::from_secs(duration_secs));
0 commit comments