From b334603e27de2c9e62ccc373be189ecd5b6a7977 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Tue, 21 Oct 2025 15:35:52 +0200 Subject: [PATCH] [WIP] For testing, send statistics once every minute --- src/stats.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stats.rs b/src/stats.rs index 6d97262d9d..41bb2c25fe 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -25,8 +25,8 @@ use crate::tools::{create_id, time}; pub(crate) const STATISTICS_BOT_EMAIL: &str = "self_reporting@testrun.org"; const STATISTICS_BOT_VCARD: &str = include_str!("../assets/statistics-bot.vcf"); -const SENDING_INTERVAL_SECONDS: i64 = 3600 * 24 * 7; // 1 week -// const SENDING_INTERVAL_SECONDS: i64 = 60; // 1 minute (for testing) +// const SENDING_INTERVAL_SECONDS: i64 = 3600 * 24 * 7; // 1 week +const SENDING_INTERVAL_SECONDS: i64 = 60; // 1 minute (for testing) const MESSAGE_STATS_UPDATE_INTERVAL_SECONDS: i64 = 4 * 60; // 4 minutes (less than the lowest ephemeral messages timeout) #[derive(Serialize)]