Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iuxb6-00083J-OX for pgsql-jdbc@arkaria.postgresql.org; Fri, 24 Jan 2020 11:58:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iuxb4-00014M-FV for pgsql-jdbc@arkaria.postgresql.org; Fri, 24 Jan 2020 11:57:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iuxb4-00014F-68 for pgsql-jdbc@lists.postgresql.org; Fri, 24 Jan 2020 11:57:58 +0000 Received: from out-16.smtp.github.com ([192.30.254.199]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuxay-0004ql-Kl for pgsql-jdbc@lists.postgresql.org; Fri, 24 Jan 2020 11:57:57 +0000 Received: from github-lowworker-2ef7ba1.ac4-iad.github.net (github-lowworker-2ef7ba1.ac4-iad.github.net [10.52.16.66]) by smtp.github.com (Postfix) with ESMTP id 854231212EC for ; Fri, 24 Jan 2020 03:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1579867070; bh=eHVeehkGetI6nF957zGY4ysbqhAk4vWbkOoIBLxpOCo=; h=Date:From:To:Subject:From; b=KkBG7eqLlcMNo7pyQL8udSdu0v3ZusZ21nPo99gsL9nxritlF0yLPljjfLQ5Hg/HH sP3QSDiczX/x9qRlmBQCEMsptGelBqN5SksNWkwjl81/D9bZ1Z4qDYjuCAZz5wQyLX jI7Qy0k5U3phv1b/gKdVaxBmIaFsKDLclLot9iwo= Date: Fri, 24 Jan 2020 03:57:50 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 3dd5df: fix: actually use milliseconds instead of microsec... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 3dd5dff2b095ed7665fbed386a7cbad7c3254fd1 https://github.com/pgjdbc/pgjdbc/commit/3dd5dff2b095ed7665fbed386a7cbad7c3254fd1 Author: Dave Cramer Date: 2020-01-24 (Fri, 24 Jan 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/Driver.java M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java Log Message: ----------- fix: actually use milliseconds instead of microseconds for timeouts (#1653) * fix: actually use milliseconds instead of microseconds for timeouts * Use TimeUnit to convert to millis