mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 06:45:21 +01:00
Bump stop timeout (#1797)
This commit is contained in:
parent
c3dc52ce90
commit
8c9c95bca8
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue