IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39694 for trunk


Ignore:
Timestamp:
Sep 13, 2016, 3:24:46 PM (10 years ago)
Author:
heather
Message:

fix ipptopsps fits.py to retry uip to 5 times if an smf/cmf is dead

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/fits.py

    r39661 r39694  
    2929       numtries = 0
    3030       success = 0
    31 
     31       time_wait=30
    3232       while (numtries < 5 and success == 0):
    3333           numtries = numtries +1
     
    3737               self.logger.infoPair("success to read file", self.originalPath)
    3838           else:  #if it fails, wait 30 seconds before looping
    39                time.sleep(30)
     39               time.sleep(time_wait)
     40               time_wait= 120 #(first time, wait 30 seconds)
    4041
    4142       if success == 0:
  • trunk/psconfig/tagsets/ipp-3.0.dist

    r38043 r39694  
    6666  YYYYY  ippScripts             ipp-2-9          -0
    6767  YYYYY  ippTasks               ipp-2-9          -0
    68   NNYYN  ippToPsps              ipp-2-9          -0
     68  YYYYY  ippToPsps              ipp-2-9          -0
    6969         
    7070  YYYYY  ippconfig              ipp-2-9          -0
Note: See TracChangeset for help on using the changeset viewer.