Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fUxeS-0007WC-6j for pgadmin-hackers@arkaria.postgresql.org; Mon, 18 Jun 2018 17:09:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fUxeQ-0002OR-Qd for pgadmin-hackers@arkaria.postgresql.org; Mon, 18 Jun 2018 17:09:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fUxeQ-0002OH-Hu for pgadmin-hackers@lists.postgresql.org; Mon, 18 Jun 2018 17:09:10 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fUxeM-0006fS-IT for pgadmin-hackers@postgresql.org; Mon, 18 Jun 2018 17:09:08 +0000 Received: by mail-wr0-x244.google.com with SMTP id w10-v6so17633732wrk.9 for ; Mon, 18 Jun 2018 10:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o4z5f0svY+ZdKs06kHUJwm0tjfbzG2/Kn8UodDAEkMo=; b=GImV+cMW3snortT7tfQUGExlQG4g78WuImC/PB2edbNtvFokhoPNtTpd6S7wyn+sqs 6DrSp/OzhBdhrQQud1sXoQcNMkJBxERUyw5A0sg1m+YsBCAFI/XNieJEQ1G90j/GhgZW OSt4g9EqMXYAFbdeuPwBnpZq22Gs5gGNTq+Z7Md7IhTBAwmoVRp6pCrQvvRrN09nN+86 bLuPc6YUyRW7Oqcfaw4BR1Jyh1Ie3Uo+NCmSq6g17yvjR5idYVMOc+KENbdtqatxW6WK WjTElZ95fEEuiZe+8jCTnm/J4qWzGlYUtZGf9T4cGR9TKWGrAzdKH+Q0Bp2ZUd63SyhU PzlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o4z5f0svY+ZdKs06kHUJwm0tjfbzG2/Kn8UodDAEkMo=; b=txm62MXN3Ksffr08sDsbTbeszgKiHJtMvMrK/aucDm+J3Dz4zCjyPEdGpB16HL4YuS LAIxlAC9i/QaJMEcbFiu3PzFHqxL9/kb0MrcOK0wFu7quVwITPjSKEBbG7ET3Md25d02 28oEsLNy7YS4STuPgDycaNUnDw/G9sAX4i9LHdymeVnvkeI1zND+wOfp8rux5ZjhRIzv VYMtyxH8AnIs1/iBOOcEwNwiB0166q0whlmH+4yOHqIBTt1zGTh+AdI3Bh2Yte2/KA3h IumEmjxD+hVt/Qu5h6TQVwQK9aX+o4E13nMldeTj/+uxTrZVD6qHNdTzh9yFPOAeAu6q rU1g== X-Gm-Message-State: APt69E13qJgg1M2z7EYKj/tnbSww/OohCOeJan9/MBlPcmQjg9ijNKDc MBTqUAiNQ8OMoBb6PGMTiAZLZ58/NyxpJtpnkUOpwg== X-Google-Smtp-Source: ADUXVKJeAVZEOR8VmtZbDdKqCgY7sGXWgvGct+GwUkjeNukYfZcJ7f9KH1uUDNVXJTb1JyBsUxF4mIpYlPGPAQshAHQ= X-Received: by 2002:adf:8211:: with SMTP id 17-v6mr10969975wrb.144.1529341744850; Mon, 18 Jun 2018 10:09:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:2907:0:0:0:0:0 with HTTP; Mon, 18 Jun 2018 10:09:04 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Mon, 18 Jun 2018 18:09:04 +0100 Message-ID: Subject: Re: [pgadmin4][Patch]: Feature #3388 Allow to set the connection timeout on the server properties dialog To: Akshay Joshi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000007142fa056eed9f2f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000007142fa056eed9f2f Content-Type: text/plain; charset="UTF-8" Hi On Mon, Jun 18, 2018 at 12:18 PM, Akshay Joshi < akshay.joshi@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch for Feature #3388 Allow to set the connection > timeout on the server properties dialog. Please review it. > I took a quick look at this and had some questions/comments: - Doc updates seem to be missing. - The timeout should be passed through to external utilities like pg_dump/pg_restore. - Can/should the timeout be extended to the SSH tunnels? - Any refactoring opportunities in the code you're touching? Thanks. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --0000000000007142fa056eed9f2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Mon, Jun 18, 2018 at 12:18 PM, Akshay Joshi <akshay.joshi= @enterprisedb.com> wrote:
<= div dir=3D"ltr">Hi Hackers,

Attached is = the patch for Feature #3388 Allow to set the connection timeout on the serv= er properties dialog. Pleas= e review it.

I took a qu= ick look at this and had some questions/comments:

= - Doc updates seem to be missing.

- The timeout sh= ould be passed through to external utilities like pg_dump/pg_restore.
=

- Can/should the timeout be extended to the SSH tunnels= ?=C2=A0

- Any refactoring opportunities in the cod= e you're touching?

Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

Enterpri= seDB UK: http://w= ww.enterprisedb.com
The Enterprise PostgreSQL Company
--0000000000007142fa056eed9f2f--