Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3D1E176D8 for ; Mon, 20 Oct 2014 22:03:01 +0000 (UTC) Received: (qmail 68326 invoked by uid 500); 20 Oct 2014 22:02:55 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 68288 invoked by uid 500); 20 Oct 2014 22:02:55 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 68276 invoked by uid 99); 20 Oct 2014 22:02:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 22:02:55 +0000 X-ASF-Spam-Status: No, hits=-2001.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Oct 2014 22:02:33 +0000 Received: (qmail 67265 invoked by uid 99); 20 Oct 2014 22:02:31 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 22:02:31 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 5C3139D38EB; Mon, 20 Oct 2014 22:02:31 +0000 (UTC) From: aledsage To: dev@brooklyn.incubator.apache.org Reply-To: dev@brooklyn.incubator.apache.org Message-ID: Subject: [GitHub] incubator-brooklyn pull request: Add timeouts to Networking.isPort... Content-Type: text/plain Date: Mon, 20 Oct 2014 22:02:31 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org GitHub user aledsage opened a pull request: https://github.com/apache/incubator-brooklyn/pull/259 Add timeouts to Networking.isPortAvailable - was taking 1min 15secs for isPortAvailable(null, 8081) - now has 250ms timeout for each check - does log.trace to indicate time taken for each InetAddress:port You can merge this pull request into a Git repository by running: $ git pull https://github.com/aledsage/incubator-brooklyn fix/isPortAvailable-very-slow Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-brooklyn/pull/259.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #259 ---- commit f6d806095d63597a3b78ed5419789ae97f7e7bef Author: Aled Sage Date: 2014-10-20T21:46:28Z Add timeouts to Networking.isPortAvailable - was taking 1min 15secs for isPortAvailable(null, 8081) - now has 250ms timeout for each check - does log.trace to indicate time taken for each InetAddress:port ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---