feat(stats): query http gateway, wait until gateway up to collect discord stats

This commit is contained in:
alyssa 2024-09-27 18:53:04 +09:00
parent e4ed354536
commit 9ff824c37b
7 changed files with 130 additions and 17 deletions

View file

@ -49,7 +49,7 @@ func update_db_message_meta() {
}
func get_discord_counts() (int, int) {
redisStats := run_redis_query()
redisStats := query_http_cache()
guild_count := 0
channel_count := 0