openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [openjpa] 03/03: OPENJPA-2753 improve postgresql docker setup
Date Wed, 02 Jan 2019 23:17:29 GMT
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git

commit d25ed12902c1ee4f156e6aba2b715de148be131c
Author: Mark Struberg <struberg@apache.org>
AuthorDate: Thu Jan 3 00:17:03 2019 +0100

    OPENJPA-2753 improve postgresql docker setup
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index a0b5f9f..c80e4a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -776,7 +776,7 @@
                 <openjpa.postgresql.dbname>openjpatst</openjpa.postgresql.dbname>
                 <openjpa.postgresql.username>postgres</openjpa.postgresql.username>
                 <openjpa.postgresql.password>postgres</openjpa.postgresql.password>
-                <openjpa.postgresql.url>jdbc:postgresql://localhost/${openjpa.postgresql.dbname}</openjpa.postgresql.url>
+                <openjpa.postgresql.url>jdbc:postgresql://localhost:${docker.external.postgresql.port}/${openjpa.postgresql.dbname}</openjpa.postgresql.url>
 
                 <!--<connection.url>jdbc:postgresql://localhost/openjpa</connection.url>-->
                 <connection.url>${openjpa.postgresql.url}</connection.url>
@@ -785,7 +785,7 @@
                 <jdbc.DBDictionary />
 
                 <!-- DBCP overrides -->
-                <dbcp.maxIdle>5</dbcp.maxIdle>
+                <dbcp.maxIdle>20</dbcp.maxIdle>
                 <dbcp.minIdle>0</dbcp.minIdle>
                 <dbcp.maxTotal>20</dbcp.maxTotal>
 


Mime
View raw message