mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(scheduled_tasks): expected_gateway_count is not inclusive
This commit is contained in:
parent
40b6ab1d87
commit
3329e48e1b
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ pub async fn update_discord_stats(ctx: AppCtx) -> anyhow::Result<()> {
|
|||
let mut guild_count = 0;
|
||||
let mut channel_count = 0;
|
||||
|
||||
for idx in 0..=cfg.expected_gateway_count {
|
||||
for idx in 0..cfg.expected_gateway_count {
|
||||
let res = client
|
||||
.get(format!("http://cluster{idx}.{}/stats", cfg.gateway_url))
|
||||
.send()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue