Skip to content

Commit

Permalink
#1340 Add statistics on migration process
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 25, 2020
1 parent 1e17d68 commit 6897bcb
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ object Migrate extends App with MigrationOps {
val output = th4.Output(Configuration(config.getConfig("output").withFallback(config)))
val filter = Filter.fromConfig(config.getConfig("input.filter"))

val process = migrate(input, output, filter)
Await.ready(process, Duration.Inf)
val process = migrate(input, output, filter)
val migrationStats = Await.result(process, Duration.Inf)
println("Migration finished")
println(migrationStats)
System.exit(0)
}
}
Loading

0 comments on commit 6897bcb

Please sign in to comment.