IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 9, 2009, 2:26:54 PM (17 years ago)
Author:
bills
Message:

when busy turn down the exec time to .05 seconds
dispatch compoents based on the host table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/dist.pro

    r24146 r24737  
    123123  task.exec
    124124    book npages distToProcess -var N
    125     if ($N == 0) break
     125    if ($N == 0)
     126        periods -exec 10
     127        break
     128    end
     129    periods -exec 0.05
     130
    126131    if ($NETWORK == 0) break
    127132   
     
    165170#    set.host.for.camera $CAMERA $MAGIC_ID
    166171#    set.workdir.by.camera $CAMERA $MAGIC_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    167     host anyhost
     172#    host anyhost
     173
     174
     175    substr $COMPONENT 0 3 COMP_HEAD
     176    if ("$COMP_HEAD" == "sky")
     177        set.host.for.skycell $COMPONENT
     178    else
     179        # assume component is a class_id, if not we will default to anyhost
     180        set.host.for.camera $CAMERA $COMPONENT
     181    end
     182
    168183
    169184    sprintf logfile "%s/dist.%s.%s.log" $OUTDIR $DIST_ID $COMPONENT
Note: See TracChangeset for help on using the changeset viewer.