From f1f8005244a346f64761cad8d7cb5a5144d407f4 Mon Sep 17 00:00:00 2001 From: irinaschubert Date: Mon, 21 Feb 2022 09:22:44 +0100 Subject: [PATCH] fix(timeout): Increase timeouts (DEV-536) (#2005) * Increase timeouts to 60 min * increase update timeout * Increase timeouts * increase timeouts --- webapi/src/main/resources/application.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapi/src/main/resources/application.conf b/webapi/src/main/resources/application.conf index bf1877f235..f1c3e3d26d 100644 --- a/webapi/src/main/resources/application.conf +++ b/webapi/src/main/resources/application.conf @@ -24,7 +24,7 @@ akka { # Set to `infinite` to completely disable idle connection timeouts. # # Must be larger then request-timeout - idle-timeout = 30 minutes + idle-timeout = 120 minutes # Defines the default time period within which the application has to # produce an HttpResponse for any given HttpRequest it received. @@ -38,7 +38,7 @@ akka { # request individually. # # Must be smaller then idle-timeout - request-timeout = 30 minutes + request-timeout = 120 minutes # The maximum number of concurrently accepted connections when using the # `Http().bindAndHandle` methods. @@ -304,7 +304,7 @@ app { print-extended-config = ${?KNORA_WEBAPI_PRINT_EXTENDED_CONFIG} // default ask timeout. can be same or lower then akka.http.server.request-timeout. - default-timeout = 30 minutes + default-timeout = 120 minutes // If true, log all messages sent from and received by routes. Since messages are logged at DEBUG level, you will // need to set loglevel = "DEBUG" in the akka section of this file, and in logback.xml. @@ -535,7 +535,7 @@ app { query-timeout = 20 seconds // timeout for tripelstore updates. can be same or lower then akka.http.server.request-timeout. - update-timeout = 30 minutes + update-timeout = 120 minutes // triplestore auto init. initialize triplestore at startup if necessary. auto-init = false