Project

General

Profile

« Previous | Next » 

Revision 739

Added by bojilova almost 23 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.

  • added
  • modified
  • copied
  • renamed
  • deleted