Skip to content

Commit

Permalink
Add modules-prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
bharattech committed Aug 15, 2023
1 parent d5c0f7a commit 807d9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn handle_rust_india_events(_req: Request) -> Result<Response> {
let date_now = Utc::now();
let diff: Duration = date_now
.signed_duration_since(Utc.datetime_from_str(&last_fetch_at, "%Y-%m-%d %H:%M:%S%.f UTC")?);
let one_hour = Duration::minutes(1);
let one_hour = Duration::minutes(60);

if diff > one_hour {
let now_date = Utc::now().to_string();
Expand Down

0 comments on commit 807d9df

Please sign in to comment.