adpapi cp_reconnect problem
10 Oct
2007
10 Oct
'07
10:02 a.m.
Hi all From what I was able to google and what I could deduce from the source/docs this is what I think the right way to get reconnects after all: def runQuery(self, query, *args): try: d = self.pool.runInteraction(self.mapQuery, query, args) except adbapi.ConnectionLost: #simply resend query, assuming cp_reconnect=True d = self.pool.runInteraction(self.mapQuery, query, args) return d Am I on the right track? Thxs for the help! Werner
6014
Age (days ago)
6014
Last active (days ago)
2 comments
2 participants
participants (2)
-
Phil Christensen
-
Werner Thie