Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scala 如何调试游戏中出现的超时故障?_Scala_Asynchronous_Playframework 2.0 - Fatal编程技术网

Scala 如何调试游戏中出现的超时故障?

Scala 如何调试游戏中出现的超时故障?,scala,asynchronous,playframework-2.0,Scala,Asynchronous,Playframework 2.0,我已经编写了一个应用程序,使用Play的异步WS库定期发出HTTP请求。整个过程完美地完成了99%。然而,在某些情况下,它只是超时 我不知道如何调试这个。我可以使用什么工具、什么方法来调试这种情况?我想知道这是否与软件、硬件、网络拥塞有关 使用AkkafirstCompletedOf处理超时。详情如下: // Where f and timeoutFuture are two Future[Unit] Future.firstCompletedOf(f :: timeoutFuture :: N

我已经编写了一个应用程序,使用Play的异步WS库定期发出HTTP请求。整个过程完美地完成了99%。然而,在某些情况下,它只是超时

我不知道如何调试这个。我可以使用什么工具、什么方法来调试这种情况?我想知道这是否与软件、硬件、网络拥塞有关

使用Akka
firstCompletedOf
处理超时。详情如下:

// Where f and timeoutFuture are two Future[Unit]
Future.firstCompletedOf(f :: timeoutFuture :: Nil).onComplete {

信息的第二部分是调用是在Akka actor中进行的。

您可以共享正在执行的代码吗?