Skip to content

Commit 6d2e681

Browse files
committed
syn2mas: log progress more often
1 parent 55f263d commit 6d2e681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/cli/src/commands/syn2mas.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,13 @@ impl Options {
262262
}
263263
}
264264

265-
/// Logs progress every 30 seconds, as a lightweight alternative to a progress
266-
/// bar. For most deployments, the migration will not take 30 seconds so this
265+
/// Logs progress every 5 seconds, as a lightweight alternative to a progress
266+
/// bar. For most deployments, the migration will not take 5 seconds so this
267267
/// will not be relevant. In other cases, this will give the operator an idea of
268268
/// what's going on.
269269
async fn occasional_progress_logger(progress: Progress) {
270270
loop {
271-
tokio::time::sleep(Duration::from_secs(30)).await;
271+
tokio::time::sleep(Duration::from_secs(5)).await;
272272
match &**progress.get_current_stage() {
273273
ProgressStage::SettingUp => {
274274
info!(name: "progress", "still setting up");

0 commit comments

Comments
 (0)