Index: trunk/ippTasks/camera.pro
===================================================================
--- trunk/ippTasks/camera.pro	(revision 25693)
+++ trunk/ippTasks/camera.pro	(revision 26028)
@@ -5,4 +5,20 @@
 # test for required global variables
 check.globals
+
+# camera.pro should have a more restricted polling limit (to avoid stress with getstar)
+if ($?POLL_LIMIT_CAMERA == 0) set POLL_LIMIT_CAMERA = 10
+
+macro set.camera.poll
+  if ($0 != 2)
+    echo "USAGE:set.camera.poll (value)"
+    break
+  end
+ 
+  $POLL_LIMIT_CAMERA = $1
+end
+
+macro get.camera.poll
+  echo "camera poll limit: $POLL_LIMIT_CAMERA"
+end
 
 book init camPendingExp
@@ -70,5 +86,8 @@
       if ($camera_DB >= $DB:n) set camera_DB = 0
     end
-    add_poll_args run
+    $run = $run -limit $POLL_LIMIT_CAMERA
+    # NOTE: we do not want to overload the dvo db machine with getstar queries, 
+    # so we will limit the camera stage to a smaller number than the other stages
+    # add_poll_args run
     add_poll_labels run
     command $run
