significantly lower max_update to obtain a stable ranking

This commit is contained in:
Ilion Beyst 2022-05-30 21:03:09 +02:00
parent 6e1167ee9e
commit ef19e3a9e7

View file

@ -9,7 +9,7 @@ use tokio;
const RANKER_INTERVAL: u64 = 60;
const START_RATING: f64 = 0.0;
const SCALE: f64 = 100.0;
const MAX_UPDATE: f64 = 10.0;
const MAX_UPDATE: f64 = 0.1;
pub async fn run_ranker(db_pool: DbPool) {
// TODO: make this configurable