Skip to content

Commit

Permalink
Correction: secs => mins
Browse files Browse the repository at this point in the history
  • Loading branch information
zaychenko-sergei committed Jun 28, 2024
1 parent 23b34fb commit bbee110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/cli/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub async fn spawn_password_refreshing_job(db_config: &DatabaseConfig, catalog:
if let Some(rotation_frequency_in_minutes) =
password_policy_config.and_then(|config| config.rotation_frequency_in_minutes)
{
let awaiting_duration = std::time::Duration::from_secs(rotation_frequency_in_minutes);
let awaiting_duration = std::time::Duration::from_mins(rotation_frequency_in_minutes);

let catalog = catalog.clone();

Expand Down

0 comments on commit bbee110

Please sign in to comment.