0.0.6-onecachekey

This commit is contained in:
2024-10-22 09:38:30 +03:00
parent 9fcce86075
commit 8ff3f018b5
7 changed files with 95 additions and 123 deletions

View File

@@ -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.update_filelist_from_aws().await;
app_state_clone.cache_aws_filelist().await;
app_state_clone.refresh_file_list_periodically().await;
});
});