cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject Re: Reconnecting automatically after DB downtime
Date Mon, 29 Feb 2016 13:14:15 GMT
Hi Michael,
I’m not quite sure, I’m just giving Cayenne my connection information. Should I be using
a different mechanism?

Cheers,
- hugi



> On 29. feb. 2016, at 13:10, Michael Gentry <mgentry@masslight.net> wrote:
> 
> Hi Hugi,
> 
> Just out of curiosity, which connection pooling mechanism were you using?
> I've seen Cayenne automatically re-connect to PostgreSQL before.
> 
> mrg
> 
> 
> On Mon, Feb 29, 2016 at 6:26 AM, Hugi Thordarson <hugi@karlmenn.is> wrote:
> 
>> Ah, awesome. Added to my config :).
>> 
>> Cheers,
>> - hugi
>> 
>> 
>> 
>>> On 29. feb. 2016, at 11:25, Andrus Adamchik <andrus@objectstyle.org>
>> wrote:
>>> 
>>> 
>>>> On Feb 29, 2016, at 2:20 PM, Hugi Thordarson <hugi@karlmenn.is> wrote:
>>>> 
>>>> What does validationQuery do?
>>> 
>>> Periodically executes for each pooled connection, and kills connections
>> that throw during validation. So it ensures that all pooled connections are
>> in a good state.
>>> 
>>> Andrus
>>> 
>> 
>> 


Mime
View raw message