Skip to content

Commit

Permalink
add chron (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelDarley authored Jan 10, 2025
1 parent 7919254 commit 4ce6755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "surreal_bot"
version = "0.7.0"
version = "0.7.1"
edition = "2021"
authors = [
"Raphael Darley <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl std::ops::Add for MessageStats {
pub fn start(http: Arc<Http>) {
tokio::spawn(async move {
loop {
// chron_midnight().await;
chron_midnight().await;
let start = Instant::now();
match collect_stats(http.clone()).await {
Ok(s) => match s.upload().await {
Expand Down

0 comments on commit 4ce6755

Please sign in to comment.