mirror of
https://github.com/corda/corda.git
synced 2025-04-09 04:15:35 +00:00
Connections now timeout correctly if something goes wrong with the server.
This commit is contained in:
parent
90a24588bc
commit
9fc89fc4a2
@ -200,6 +200,7 @@ private fun setup(params: NodeParams) {
|
||||
}
|
||||
|
||||
private fun runDateChange(date: String, host: String) : Boolean {
|
||||
println("Changing date to " + date)
|
||||
val url = URL(host + "/api/irs/demodate")
|
||||
if(putJson(url, "\"" + date + "\"")) {
|
||||
println("Date changed")
|
||||
|
Loading…
x
Reference in New Issue
Block a user