Timeout response from HTTP-JSON service

Note that with version 2.8, the Akka library was replaced with Pekko. Use:

java -Dpekko.http.server.request-timeout=5s -jar json-api.jar

You may also be interested in Log HTTP JSON API (v 2.x) timeout configuration - #2 by WallaceKelly