Skip to content
Browse files

Closes #1; Call self.switch in packet_notice to avoid a stale connect…

…ion.
  • Loading branch information...
1 parent 87f2117 commit dec12721009480eddd29815be062cfe9bcbd4130 @troyjfarrell troyjfarrell committed Jul 18, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 pgasync/protocol.py
View
1 pgasync/protocol.py
@@ -170,6 +170,7 @@ def packet_notice(self,data):
params[k] = v
log.msg ("%s: %s" % (params["C"],params["M"]))
+ self.switch()
def packet_error(self,data):
"""The backend told us a fatal error has occurred.

0 comments on commit dec1272

Please sign in to comment.
Something went wrong with that request. Please try again.