我正在將應用程序從Spray遷移到Akka HTTP。在配置中,我有:噴灑到Akka HTTP遷移:spray.can.client.request-timeout
spray {
can {
client.request-timeout = infinite
}
}
什麼是Akka HTTP的等效配置?看來request-timeout
現在僅在server
上可用,而不是client
。
見https://github.com/akka/akka-http/blob/master/akka-http-core/src/main/resources/reference.conf