From 9fc89fc4a20850ebd013766343ec2a9667376acf Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Mon, 6 Jun 2016 10:10:25 +0100 Subject: [PATCH] Connections now timeout correctly if something goes wrong with the server. --- src/main/kotlin/com/r3corda/demos/IRSDemo.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/r3corda/demos/IRSDemo.kt b/src/main/kotlin/com/r3corda/demos/IRSDemo.kt index 10df92ac2f..36180c2d90 100644 --- a/src/main/kotlin/com/r3corda/demos/IRSDemo.kt +++ b/src/main/kotlin/com/r3corda/demos/IRSDemo.kt @@ -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")