Changeset 30587 for branches/czw_branch/20101203/ippTasks
- Timestamp:
- Feb 11, 2011, 4:42:29 PM (15 years ago)
- Location:
- branches/czw_branch/20101203
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
ippTasks (modified) (1 prop)
-
ippTasks/pstamp.pro (modified) (9 diffs)
-
ippTasks/rcserver.pro (modified) (2 diffs)
-
ippTasks/survey.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20101203
-
branches/czw_branch/20101203/ippTasks
- Property svn:mergeinfo deleted
-
branches/czw_branch/20101203/ippTasks/pstamp.pro
r30586 r30587 18 18 $pstampStopFaulted_DB = 0 19 19 20 # give up on dependents with fault_count >= $PSTAMP_MAX_FAULT_COUNT 21 $PSTAMP_MAX_FAULT_COUNT = 5 22 macro set.max.fault.count 23 $PSTAMP_MAX_FAULT_COUNT = $1 24 end 25 macro get.max.fault.count 26 echo maximum fault count: $PSTAMP_MAX_FAULT_COUNT 27 end 28 $POLL_DEP = 500 29 30 macro set.dependent.poll 31 $POLL_DEP = $1 32 end 33 macro get.dependent.poll 34 echo dependent poll limit: $POLL_DEP 35 end 36 20 37 # set PS_DBSERVER if postage stamp database host is not the same as the value for DBSERVER in site.config 21 38 # warning: no quotes around the two words. That causes the variable to get passed to pstamptool as one word … … 137 154 end 138 155 end 156 139 157 macro pstamp.find.on 140 158 task pstamp.request.find … … 143 161 end 144 162 macro pstamp.find.off 145 task pstamp.request.find.load 146 active false 147 end 148 end 163 task pstamp.request.find 164 active false 165 end 166 end 167 168 macro pstamp.dependent.on 169 task pstamp.dependent.load 170 active true 171 end 172 task pstamp.dependent.run 173 active true 174 end 175 end 176 macro pstamp.dependent.off 177 task pstamp.dependent.load 178 active false 179 end 180 task pstamp.dependent.run 181 active false 182 end 183 end 184 149 185 150 186 macro pstamp.status.on … … 158 194 end 159 195 end 196 160 197 macro pstamp.status.set.exec 161 198 task pstamp.save.status … … 525 562 echo pstamp.job.run task.exit $JOB_ID status: $JOB_STATUS 526 563 end 527 showcommand failure564 # showcommand failure 528 565 process_exit pstampJob $options:0 $JOB_STATUS 529 566 end … … 609 646 add_poll_args run 610 647 add_poll_labels run 611 command $run 648 command $run -limit $POLL_DEP 612 649 end 613 650 … … 664 701 book getword pstampDependent $pageName outdir -var OUTDIR 665 702 book getword pstampDependent $pageName need_magic -var NEED_MAGIC 703 book getword pstampDependent $pageName fault_count -var FAULT_COUNT 666 704 book getword pstampDependent $pageName dbname -var DBNAME 667 705 … … 682 720 stderr $MYLOGFILE 683 721 684 $run = pstamp_checkdependent.pl --dep_id $DEP_ID --stage_id $STAGE_ID --stage $STAGE --component $COMPONENT --imagedb $IMAGEDB --rlabel $RLABEL $NEED_MAGIC 722 $run = pstamp_checkdependent.pl --dep_id $DEP_ID --stage_id $STAGE_ID --stage $STAGE --component $COMPONENT --imagedb $IMAGEDB --rlabel $RLABEL $NEED_MAGIC --fault_count $FAULT_COUNT --max_fault_count $PSTAMP_MAX_FAULT_COUNT 685 723 686 724 add_standard_args run … … 705 743 echo pstamp.job.run task.exit $DEP_ID status: $JOB_STATUS 706 744 end 707 showcommand failure745 # showcommand failure 708 746 process_exit pstampDependent $options:0 $JOB_STATUS 709 747 end -
branches/czw_branch/20101203/ippTasks/rcserver.pro
r30586 r30587 40 40 active false 41 41 end 42 task rcserver.revert43 active false44 end45 42 end 46 43 … … 48 45 task rcserver.revert 49 46 active true 47 end 48 end 49 50 macro rcserver.revert.off 51 task rcserver.revert 52 active false 50 53 end 51 54 end -
branches/czw_branch/20101203/ippTasks/survey.pro
r30586 r30587 1135 1135 end 1136 1136 1137 echo $run1137 # echo $run 1138 1138 1139 1139 command $run
Note:
See TracChangeset
for help on using the changeset viewer.
