Index: trunk/ippTasks/camera.pro
===================================================================
--- trunk/ippTasks/camera.pro	(revision 26015)
+++ 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
Index: trunk/ippTasks/pantasks.pro
===================================================================
--- trunk/ippTasks/pantasks.pro	(revision 26015)
+++ trunk/ippTasks/pantasks.pro	(revision 26028)
@@ -7,5 +7,5 @@
 if ($?VERBOSE == 0)   	  set VERBOSE = 1
 if ($?LABEL:n == 0)   	  set LABEL:n = 0
-if ($?POLLLIMIT == 0) 	  set POLLLIMIT = 32
+if ($?POLL_LIMIT == 0) 	  set POLL_LIMIT = 32
 if ($?KEEP_FAILURES == 0) set KEEP_FAILURES = 0
 
@@ -330,5 +330,5 @@
 
     local command i
-    $command = $$1 -limit $POLLLIMIT
+    $command = $$1 -limit $POLL_LIMIT
 
     $$1 = $command
@@ -484,9 +484,9 @@
   end
  
-  $POLLLIMIT = $1
+  $POLL_LIMIT = $1
 end
 
 macro get.poll
-  echo "poll limit: $POLLLIMIT"
+  echo "poll limit: $POLL_LIMIT"
 end
 
