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/diskbalance.pro

    r31644 r31854  
    180180
    181181  task.exec
     182    # if we are unable to run the 'exec', use a long retry time
     183    periods -exec 5
     184
    182185    book npages balancePending -var N
    183186    if ($NETWORK == 0) break
    184     if ($N == 0)
    185         periods -exec 5
    186         break
    187     end
    188     # Reset the speed if we're doing something
    189     periods -exec 0.5
     187    if ($N == 0) break
    190188
    191189    # look for new objects in balancePending
     
    214212        echo command $run
    215213    end
     214    periods -exec 0.05
    216215    command $run
    217216  end
Note: See TracChangeset for help on using the changeset viewer.