Skip to content

Commit

Permalink
re-add stats_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Apr 21, 2024
1 parent 655234e commit 608c1ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/deploy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,14 @@ async fn recalculate_user(
_ => unreachable!(),
};

let stats_prefix = match mode {
0 => "std",
1 => "taiko",
2 => "ctb",
3 => "mania",
_ => unreachable!(),
};

redis_connection
.zadd(
format!("ripple:{}:{}", redis_leaderboard, stats_prefix),
Expand Down

0 comments on commit 608c1ef

Please sign in to comment.