Changeset 26028
- Timestamp:
- Nov 4, 2009, 11:19:01 AM (17 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 2 edited
-
camera.pro (modified) (2 diffs)
-
pantasks.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/camera.pro
r25693 r26028 5 5 # test for required global variables 6 6 check.globals 7 8 # camera.pro should have a more restricted polling limit (to avoid stress with getstar) 9 if ($?POLL_LIMIT_CAMERA == 0) set POLL_LIMIT_CAMERA = 10 10 11 macro set.camera.poll 12 if ($0 != 2) 13 echo "USAGE:set.camera.poll (value)" 14 break 15 end 16 17 $POLL_LIMIT_CAMERA = $1 18 end 19 20 macro get.camera.poll 21 echo "camera poll limit: $POLL_LIMIT_CAMERA" 22 end 7 23 8 24 book init camPendingExp … … 70 86 if ($camera_DB >= $DB:n) set camera_DB = 0 71 87 end 72 add_poll_args run 88 $run = $run -limit $POLL_LIMIT_CAMERA 89 # NOTE: we do not want to overload the dvo db machine with getstar queries, 90 # so we will limit the camera stage to a smaller number than the other stages 91 # add_poll_args run 73 92 add_poll_labels run 74 93 command $run -
trunk/ippTasks/pantasks.pro
r25966 r26028 7 7 if ($?VERBOSE == 0) set VERBOSE = 1 8 8 if ($?LABEL:n == 0) set LABEL:n = 0 9 if ($?POLL LIMIT == 0) set POLLLIMIT = 329 if ($?POLL_LIMIT == 0) set POLL_LIMIT = 32 10 10 if ($?KEEP_FAILURES == 0) set KEEP_FAILURES = 0 11 11 … … 330 330 331 331 local command i 332 $command = $$1 -limit $POLL LIMIT332 $command = $$1 -limit $POLL_LIMIT 333 333 334 334 $$1 = $command … … 484 484 end 485 485 486 $POLL LIMIT = $1486 $POLL_LIMIT = $1 487 487 end 488 488 489 489 macro get.poll 490 echo "poll limit: $POLL LIMIT"490 echo "poll limit: $POLL_LIMIT" 491 491 end 492 492
Note:
See TracChangeset
for help on using the changeset viewer.
