Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D1EEC200D3E for ; Thu, 16 Nov 2017 13:15:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D07CA160BE6; Thu, 16 Nov 2017 12:15:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2255B160BE5 for ; Thu, 16 Nov 2017 13:15:55 +0100 (CET) Received: (qmail 16080 invoked by uid 500); 16 Nov 2017 12:15:55 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 16071 invoked by uid 99); 16 Nov 2017 12:15:55 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2017 12:15:55 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id C740E81C2E; Thu, 16 Nov 2017 12:15:54 +0000 (UTC) Date: Thu, 16 Nov 2017 12:15:54 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk] branch master updated: Increase the number of max open requests (#2951) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <151083455458.1786.3843364653094097055@gitbox.apache.org> From: jeremiaswerner@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 58967d73045d7f9382f455d1fb49d1276d8dbf60 X-Git-Newrev: 0cb847c0906f58fee1166938977708d99261c1c5 X-Git-Rev: 0cb847c0906f58fee1166938977708d99261c1c5 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Thu, 16 Nov 2017 12:15:57 -0000 This is an automated email from the ASF dual-hosted git repository. jeremiaswerner pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git The following commit(s) were added to refs/heads/master by this push: new 0cb847c Increase the number of max open requests (#2951) 0cb847c is described below commit 0cb847c0906f58fee1166938977708d99261c1c5 Author: Vadim Raskin AuthorDate: Thu Nov 16 13:15:52 2017 +0100 Increase the number of max open requests (#2951) --- common/scala/src/main/resources/application.conf | 2 +- common/scala/src/main/scala/whisk/core/database/CouchDbRestStore.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/scala/src/main/resources/application.conf b/common/scala/src/main/resources/application.conf index 683a804..1968e90 100644 --- a/common/scala/src/main/resources/application.conf +++ b/common/scala/src/main/resources/application.conf @@ -9,7 +9,7 @@ akka.http { host-connection-pool { max-connections = 128 - max-open-requests = 128 + max-open-requests = 512 } } diff --git a/common/scala/src/main/scala/whisk/core/database/CouchDbRestStore.scala b/common/scala/src/main/scala/whisk/core/database/CouchDbRestStore.scala index 298cf09..2127f86 100644 --- a/common/scala/src/main/scala/whisk/core/database/CouchDbRestStore.scala +++ b/common/scala/src/main/scala/whisk/core/database/CouchDbRestStore.scala @@ -71,7 +71,7 @@ class CouchDbRestStore[DocumentAbstraction <: DocumentSerializer](dbProtocol: St // This the the amount of allowed parallel requests for each entity, before batching starts. If there are already maxOpenDbRequests // and more documents need to be stored, then all arriving documents will be put into batches (if enabled) to avoid a long queue. - private val maxOpenDbRequests = system.settings.config.getInt("akka.http.host-connection-pool.max-open-requests") / 2 + private val maxOpenDbRequests = system.settings.config.getInt("akka.http.host-connection-pool.max-connections") / 2 private val batcher: Batcher[JsObject, Either[ArtifactStoreException, DocInfo]] = new Batcher(500, maxOpenDbRequests)(put(_)(TransactionId.unknown)) -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" '].