mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 09:40:10 +00:00
feat: new stats embed / api
This commit is contained in:
parent
e88d6b7e2a
commit
9f8d3d22d2
8 changed files with 215 additions and 100 deletions
|
|
@ -74,7 +74,6 @@ async fn real_main() -> anyhow::Result<()> {
|
|||
"message stats updater",
|
||||
update_db_message_meta
|
||||
);
|
||||
// every minute
|
||||
doforever!("* * * * *", "discord stats updater", update_discord_stats);
|
||||
// on :00 and :30
|
||||
doforever!(
|
||||
|
|
@ -82,6 +81,7 @@ async fn real_main() -> anyhow::Result<()> {
|
|||
"queue deleted image cleanup job",
|
||||
queue_deleted_image_cleanup
|
||||
);
|
||||
doforever!("0,30 * * * * *", "stats api updater", update_stats_api);
|
||||
|
||||
set.join_next()
|
||||
.await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue