File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 157157//! kcachegrind callgrind.out
158158//! ```
159159use std:: env;
160- use std:: sync:: Arc ;
161160use std:: time:: Duration ;
162161
163162use tokio:: time:: sleep;
164163
165- use crate :: { app, bootstrap } ;
164+ use crate :: app;
166165
167166pub async fn run ( ) {
168167 // Parse command line arguments
@@ -180,11 +179,7 @@ pub async fn run() {
180179 return ;
181180 } ;
182181
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 ;
182+ let ( _app_container, jobs, _registar) = app:: run ( ) . await ;
188183
189184 // Run the tracker for a fixed duration
190185 let run_duration = sleep ( Duration :: from_secs ( duration_secs) ) ;
You can’t perform that action at this time.
0 commit comments