Skip to content

Commit

Permalink
fix(services/importer): correct value for estimated time to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jan 11, 2025
1 parent ce33ef0 commit 5be189a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/services/importer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl ImporterService {
import_started_at
+ Duration::seconds(
(import.completed.len()
* ((1..MAX_IMPORT_RETRIES_FOR_PARTIAL_STATE).sum::<usize>()))
* ((1..MAX_IMPORT_RETRIES_FOR_PARTIAL_STATE + 1).sum::<usize>()))
as i64,
),
);
Expand Down

0 comments on commit 5be189a

Please sign in to comment.