Project

General

Profile

« Previous | Next » 

Revision 739

Added by bojilova over 19 years ago

as John were testing Metacat on postgres,
he discovered that Connection needs more precise check
whether it is open because of db timing outs.
So used to be:
if ( conn null ) { get new connection from db; }
Now changed to:
if ( conn null || conn.isClosed() ) { get new connection from db; }
Hope this will solve the problems with errors as:
Connection reset by peer, etc.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences