Skip to content

Commit 5fccc9c

Browse files
authored
Merge pull request #38 from FelAl/FelAl-patch-1
Update Futures.scala
2 parents 4849877 + 8024ec1 commit 5fccc9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scala/org/learningconcurrency/ch4/Futures.scala

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ object FuturesFailure extends App {
7979
urlSpec.failed foreach {
8080
case t => log(s"exception occurred - $t")
8181
}
82+
Thread.sleep(2000)
8283
}
8384

8485

0 commit comments

Comments
 (0)