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:04:40 AM UTC-5, Lutz Horn wrote:
>
> > 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. 
>
> Show us the relevant part of your configuration. 
>
> Lutz 
>
>

-- 
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.

Reply via email to