#1 2015-10-13 15:05:53

willo
Member
From: Cape Town, South Africa
Registered: 2014-11-15
Posts: 67
Website

Database reconnect on connection error

Hi Ab,

We've gone live with our first Rest server and lo and behold the TI team bounced the database server without restarting the REST server. This caused some very strange connections issues as the connections previously instantiated returned errorsm, but new ones worked - it took us a while to figure out what happened!

Researching possible solutions I found http://synopse.info/fossil/info/f024266c0839

I understand the ConnectionTimeOutMinutes property, which is something we'll investigate.

I am wondering about the proposed usage of ExceptionIsAboutConnection, though. How do you for see it being used?

Kind regards,

Willo

Offline

#2 2015-10-13 15:53:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,238
Website

Re: Database reconnect on connection error

If you search a little in the code, you will find out that it is used only for TQuery emulation class, by now.

So not used at all by standard REST / ORM / SynDB requests.

Offline

Board footer

Powered by FluxBB