X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c9fe930b422bd1675af3adb324ede3b5aa28888c..8d47832e4637a40710838b9f4dc3353b58a28c93:/services/ws/service.go diff --git a/services/ws/service.go b/services/ws/service.go index 761e22e16c..d6501e0771 100644 --- a/services/ws/service.go +++ b/services/ws/service.go @@ -7,6 +7,7 @@ package ws import ( "context" "fmt" + "time" "git.arvados.org/arvados.git/lib/cmd" "git.arvados.org/arvados.git/lib/service" @@ -24,6 +25,7 @@ func newHandler(ctx context.Context, cluster *arvados.Cluster, token string, reg if err != nil { return service.ErrorHandler(ctx, cluster, fmt.Errorf("error initializing client from cluster config: %s", err)) } + client.Timeout = time.Minute eventSource := &pgEventSource{ DataSource: cluster.PostgreSQL.Connection.String(), MaxOpenConns: cluster.PostgreSQL.ConnectionPool,