IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2011, 2:12:02 PM (15 years ago)
Author:
eugene
Message:

adjust code to set long/short exec periods so it does not leave behind unexpected short periods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/fake.pro

    r27472 r31854  
    121121
    122122  task.exec
     123    # if we are unable to run the 'exec', use a long retry time
     124    periods -exec $RUNEXEC
     125
    123126    # fake is fast, so generate a bunch of commands in a row
    124127    book npages fakePendingImfile -var N
    125     if ($N == 0)
    126        periods -exec $RUNEXEC
    127        break
    128     end
    129     periods -exec 0.05
    130 
     128    if ($N == 0) break
    131129    if ($NETWORK == 0) break
    132130   
     
    172170      echo command $run
    173171    end
     172    # if we are able to run the 'exec', use a short retry time
     173    periods -exec 0.05
    174174    command $run
    175175  end
Note: See TracChangeset for help on using the changeset viewer.