add ingest analytics page

This commit is contained in:
41666 2022-12-12 19:40:05 -05:00
parent 2665a6d25f
commit 1e41262d70
7 changed files with 270 additions and 10 deletions

View file

@ -65,6 +65,10 @@ async fn main() {
match command.as_str() {
"help" => cmd_help(),
"prune" => cmd_prune().await,
"auto-prune" => loop {
cmd_prune().await;
tokio::time::sleep(tokio::time::Duration::from_secs(60 * 5)).await;
},
"migrate" => cmd_migrate().await,
_ => {
println!("Unknown command: {}", command);