diff options
author | Harald Musum <musum@yahooinc.com> | 2021-12-16 07:50:23 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2021-12-16 07:50:23 +0100 |
commit | 46e3030ae5429a547c8344f8ccbb522840daaeaf (patch) | |
tree | c2679b7db73c60386fa29f799bc58dd5f0d1c28d /configserver | |
parent | 2c01db08ab6fad3860b49728e3cd409c3682fa8a (diff) |
Reduce timeout to 1 minute when serving files
Files are sent in parts, 1 minute shuold be plenty, 10 minutes
makes it hard to analyze what is going on if there are connection
problems, bugs in code etc.
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java index 99ffff6403b..6d16520d77b 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java @@ -558,7 +558,7 @@ public class RpcServer implements Runnable, ReloadListener, TenantListener { private void invokeRpcIfValidConnection(Request request) { if (target.isValid()) { - target.invokeSync(request, 600); + target.invokeSync(request, 60); } else { throw new RuntimeException("Connection to " + target + " is invalid", target.getConnectionLostReason()); } |