IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2008, 11:07:54 AM (18 years ago)
Author:
Paul Price
Message:

Making the poll limit (-limit 20) configurable. Didn't touch summit copy or replication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/register.pro

    r18607 r19465  
    7171  # iff the DB list is not set, use the value defined in .ipprc
    7272  task.exec
     73    $run = regtool -pendingimfile
    7374    if ($DB:n == 0)
    7475      option DEFAULT
    75       command regtool -pendingimfile -limit 20
    7676    else
    7777      # save the DB name for the exit tasks
    7878      option $DB:$regPendingImfile_DB
    79       command regtool -pendingimfile -limit 20 -dbname $DB:$regPendingImfile_DB
     79      $run = $run -dbname $DB:$regPendingImfile_DB
    8080      $regPendingImfile_DB ++
    8181      if ($regPendingImfile_DB >= $DB:n) set regPendingImfile_DB = 0
    8282    end
     83    add_poll_args run
     84    command $run
    8385  end
    8486
     
    198200
    199201  task.exec
     202    $run = regtool -pendingexp
    200203    if ($DB:n == 0)
    201204      option DEFAULT
    202       command regtool -pendingexp -limit 20
    203205    else
    204206      # save the DB name for the exit tasks
    205207      option $DB:$regPendingExp_DB
    206       command regtool -pendingexp -limit 20 -dbname $DB:$regPendingExp_DB
     208      $run = $run -dbname $DB:$regPendingExp_DB
    207209      $regPendingExp_DB ++
    208210      if ($regPendingExp_DB >= $DB:n) set regPendingExp_DB = 0
    209211    end
     212    add_poll_args run
     213    command $run
    210214  end
    211215
Note: See TracChangeset for help on using the changeset viewer.