Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Apr 9, 2024
1 parent cae93e8 commit be7d718
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ final case class RepositoryUpdater(triplestoreService: TriplestoreService) {
def getMigrationMetrics: Task[Unit] =
for {
durationState <- Ref.make(RepoUpdateMetrics.make)
_ <- ZIO.logInfo("Starting dummy migration process...")
graphs <- getDataGraphs.debug("Data graphs")
_ <- Clock.nanoTime
_ <- ZIO.foreachDiscard(graphs) { graph =>
for {
_ <- ZIO.logInfo(s"Removing graph for next dummy migration: $graph")
_ <- triplestoreService.dropGraph(graph)
_ <- deleteTmpDirectories()
metric <- doDummieMigration()
Expand Down

0 comments on commit be7d718

Please sign in to comment.