File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
269269async 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" ) ;
You can’t perform that action at this time.
0 commit comments