Bump stop timeout (#1797)

This commit is contained in:
Ben Carman 2020-08-11 09:10:06 -05:00 committed by GitHub
parent c3dc52ce90
commit 8c9c95bca8

View File

@ -24,13 +24,7 @@ case class NodeRoutes(node: Node)(implicit system: ActorSystem)
Server.httpSuccess("Node shutting down")
}
val shutdownRunnable = new Runnable {
override def run(): Unit = {
sys.exit()
}
}
system.scheduler.scheduleOnce(3.seconds, shutdownRunnable)
system.scheduler.scheduleOnce(7.seconds)(sys.exit())
nodeStopping
}