Changeset 2684


Ignore:
Timestamp:
01/10/12 06:54:56 (4 months ago)
Author:
joni
Message:

fix: now raises after enough timeouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/trunk/griddb/src/db.py

    r2681 r2684  
    169169                if 'Connect timeout' in str(e) and i < 4: 
    170170                    print 'Connection timed out, retrying %d of %d' % (i+1, 4) 
     171                else: 
     172                    raise 
    171173        self.conn.autocommit = False 
    172174 
Note: See TracChangeset for help on using the changeset viewer.