src/Pure/Admin/isabelle_cronjob.scala
changeset 71684 5036edb025b7
parent 71632 c1bc38327bc2
child 71726 a5fda30edae2
--- a/src/Pure/Admin/isabelle_cronjob.scala	Sat Apr 04 18:05:37 2020 +0200
+++ b/src/Pure/Admin/isabelle_cronjob.scala	Sat Apr 04 18:13:05 2020 +0200
@@ -514,7 +514,7 @@
         {
           running.partition(_.is_finished) match {
             case (Nil, Nil) =>
-            case (Nil, _ :: _) => Thread.sleep(500); join(running)
+            case (Nil, _ :: _) => Time.seconds(0.5).sleep; join(running)
             case (_ :: _, remaining) => join(remaining)
           }
         }