hibernateConfig:
driverClass: org.postgresql.Driver
user: user
password: password
url: database.url
properties:
charSet: UTF-8
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
org.hibernate.envers.audit_strategy:
org.hibernate.envers.strategy.ValidityAuditStrategy
org.hibernate.envers.audit_strategy_validity_store_revend_timestamp: true
org.hibernate.envers.default_schema: audit
maxWaitForConnection: 1s
# min number of connections to keep open
minSize: 8
# max number of connections to keep open
maxSize: 32
# whether or not idle connections should be validated
checkConnectionWhileIdle: false
On Thursday, January 25, 2018 at 10:01:06 AM UTC-5, [email protected] wrote:
>
> I have a test running inside my code that has a connection using
> dropwizard. I have 5 tests going on within my code. These tests are all in
> separate docker containers so they don't interfere with each other as well.
> The tests i have running are all inserting into a database the time. The
> difference is length between inserts, i have a 1 second, 1 minute, 1 hour,
> 2 hour and 3 hour idle times. The error/warning i get is from the 1 hour
> and up tests and as i read in to it it sates that it is a connection issue.
> So my main question is why is dropwizard dropping the connection for
> anything not even as long as an hour of idle time. Is this a config setting
> somewhere that i missed or something completely different.
>
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.