IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 16, 2011, 3:01:53 PM (15 years ago)
Author:
watersc1
Message:

use a random so_id value as the start point, so we don't spend so much time running over the same ground

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/diskbalance.pro

    r30643 r30933  
    8989# If the pendingbalance query exits with exit status 10, we start over at 0
    9090
    91 $BALANCE_SO_ID_START = 0
     91# This value will need to be incremented periodically.  It looks like we grow by about 5e7 so_ids per month.
     92$BALANCE_BIG_SO_ID   = 6e8
     93$BALANCE_SO_ID_START = int($BALANCE_BIG_SO_ID * rnd(0))
    9294$BALANCE_SO_ID_RANGE = 500000
    9395
Note: See TracChangeset for help on using the changeset viewer.