@@ -22,7 +22,7 @@ async fn main() -> std::io::Result<()> {
|
||||
spawn_blocking(move || {
|
||||
let rt = tokio::runtime::Handle::current();
|
||||
rt.block_on(async move {
|
||||
app_state_clone.cache_aws_filelist().await;
|
||||
app_state_clone.cache_storj_filelist().await;
|
||||
app_state_clone.refresh_file_list_periodically().await;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user