Skip to content

Commit

Permalink
Merge branch 'ibi-group:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanlaar authored May 26, 2023
2 parents ba6f895 + 638c7a8 commit 38e9eca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ public void validateMobility(MonitorableJob.Status status) {
status.update("MobilityData Analysis...", 11);

// Wait for the file to be entirely copied into the directory.
// TODO: base this on the file being completely saved rather than a fixed amount of time.
Thread.sleep(5000);
// 5 seconds + ~1 second per 10mb
Thread.sleep(5000 + (this.fileSize / 10000));
File gtfsZip = this.retrieveGtfsFile();
// Namespace based folders avoid clash for validation being run on multiple versions of a feed.
// TODO: do we know that there will always be a namespace?
Expand Down

0 comments on commit 38e9eca

Please sign in to comment.