Skip to content

Commit 00bcc28

Browse files
committed
Remove old code.
1 parent d7777ac commit 00bcc28

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/scala/org/renci/relationgraph/Main.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,13 @@ object Main extends ZCaseApp[Config] {
7171
restrictionsStream = Stream.fromQueue(queue).map(r => processRestrictionAndExtendQueue(r, classes, whelk, config.mode, queue, activeRestrictions))
7272
allTasks = classesTasks ++ restrictionsStream
7373
processed = allTasks.mapMParUnordered(JRuntime.getRuntime.availableProcessors)(identity)
74-
//watchFiber <- activeRestrictions.changes.dropUntil(_.isEmpty).take(1).foreach(_ => queue.shutdown).fork
7574
_ <- processed.foreach {
7675
case TriplesGroup(nonredundant, redundant) =>
7776
ZIO.effect {
7877
nonredundant.foreach(nonredundantRDFWriter.triple)
7978
redundant.foreach(redundantRDFWriter.triple)
8079
}
8180
}
82-
// _ <- watchFiber.join
8381
stop <- ZIO.effectTotal(System.currentTimeMillis())
8482
_ <- ZIO.effectTotal(scribe.info(s"Computed relations in ${(stop - start) / 1000.0}s"))
8583
} yield ()

0 commit comments

Comments
 (0)