Changeset 32019 for trunk/ippToPsps
- Timestamp:
- Aug 3, 2011, 4:26:09 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/ipptopsps.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/ipptopsps.py
r32007 r32019 60 60 id) 61 61 62 batch.printMe()63 62 batch.run() 64 63 … … 95 94 ippToPspsDb = IppToPspsDb(logger, configDoc) 96 95 96 # check we connected ok 97 if not gpc1Db.everythingOK: sys.exit(1) 98 if not ippToPspsDb.everythingOK: sys.exit(1) 99 97 100 # get values from the configutaion file 98 101 POLLPERIOD = 600 … … 124 127 Main processing loop: 125 128 126 1) queues available P2 batches 127 2) queues available ST batches 128 3) if in test mode, quits 129 4) otherwise, waits then repeats from 1 129 1) creates an IN batch if requested 130 2) queues available P2 batches (if requested) 131 3) queues available ST batches (if requested) 132 4) if in test mode, quits 133 5) otherwise, waits then repeats from 2 130 134 131 135 ''' … … 135 139 if QUEUE_IN: 136 140 batch = InitBatch(logger, CONFIG, configDoc, gpc1Db, ippToPspsDb) 137 batch.printMe()138 141 batch.run() 139 142 break;
Note:
See TracChangeset
for help on using the changeset viewer.
