使用的是什么版本的 Akka Play 2.0.2?似乎 Akka 已经在这个问题中删除了未来的超时。https://www.assembla.com/spaces/akka/tickets/1433
为什么我仍然收到超时异常?
2012-08-02T18:51:59+00:00 app[web.1]: play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[TimeoutException: Futures timed out after [5000] milliseconds]]
2012-08-02T18:51:59+00:00 app[web.1]: at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: Caused by: java.util.concurrent.TimeoutException: Futures timed out after [5000] milliseconds
2012-08-02T18:51:59+00:00 app[web.1]: at akka.dispatch.DefaultPromise.ready(Future.scala:870) ~[akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at akka.dispatch.DefaultPromise.result(Future.scala:874) ~[akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at akka.dispatch.Await$.result(Future.scala:74) ~[akka-actor-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at play.api.libs.concurrent.AkkaPromise.await(Akka.scala:43) ~[play_2.9.1-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at play.api.libs.concurrent.Promise$class.await(Promise.scala:55) ~[play_2.9.1-2.0.2.jar:2.0.2]
2012-08-02T18:51:59+00:00 app[web.1]: at play.api.libs.concurrent.AkkaPromise.await(Akka.scala:28) ~[play_2.9.1-2.0.2.jar:2.0.2]