Changeset 38882
- Timestamp:
- Oct 17, 2015, 10:27:11 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/dvo.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r38877 r38882 180 180 print "--- " + tableName + " : " + str(tableRows) 181 181 182 sql = "show tables" 183 rs = self.gpc1Db.executeQuery(sql) 184 rs.first() 185 tableName = rs.getString(1) 186 print "--- " + tableName 187 188 sql = "show tables" 189 rs = self.ippToPspsDb.executeQuery(sql) 190 rs.first() 191 tableName = rs.getString(1) 192 print "--- " + tableName 193 182 194 continue 183 195 dvopspsRunning = False … … 228 240 cmd += " -D CATDIR " + self.skychunk.dvoLocation 229 241 230 self.dvopspsRunWithPoll(cmd, "dvoSkyTable",4)242 self.dvopspsRunWithPoll(cmd, "dvoSkyTable", 30) 231 243 232 244 self.logger.infoPair("Adding index to", self.scratchDb.dvoSkyTable) … … 738 750 ## dvopsps can take a very long time. try 2 or 3 times to re-establish communication with the db before proceeding? 739 751 ## NOTE: fixed with a poll? 740 self.dvopspsRunWithPoll(cmd, self.scratchDb.dvoDetectionTable,2)752 self.dvopspsRunWithPoll(cmd, self.scratchDb.dvoDetectionTable, 300) 741 753 742 754 self.ippToPspsDb.setIngestedBox(boxId, self.scratchDb.dbHost)
Note:
See TracChangeset
for help on using the changeset viewer.
