Skip to content

Commit 70e3a2e

Browse files
committed
[WIP] For testing, send statistics once every minute
1 parent 713c929 commit 70e3a2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stats.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ use crate::tools::{create_id, time};
2525

2626
pub(crate) const STATISTICS_BOT_EMAIL: &str = "self_reporting@testrun.org";
2727
const STATISTICS_BOT_VCARD: &str = include_str!("../assets/statistics-bot.vcf");
28-
const SENDING_INTERVAL_SECONDS: i64 = 3600 * 24 * 7; // 1 week
29-
// const SENDING_INTERVAL_SECONDS: i64 = 60; // 1 minute (for testing)
28+
// const SENDING_INTERVAL_SECONDS: i64 = 3600 * 24 * 7; // 1 week
29+
const SENDING_INTERVAL_SECONDS: i64 = 60; // 1 minute (for testing)
3030
const MESSAGE_STATS_UPDATE_INTERVAL_SECONDS: i64 = 4 * 60; // 4 minutes (less than the lowest ephemeral messages timeout)
3131

3232
#[derive(Serialize)]

0 commit comments

Comments
 (0)