ASM #16942 - GFE: VTEC Active Tables not getting purged
Change-Id: Ia00f0c5d9f0a9f8abadde271f3608fd4e786a60b Former-commit-id:483d0216da
[formerly a98e1f924bf0b99657dd56241c02f529c5e48ce7] Former-commit-id:97c7681e01
This commit is contained in:
parent
6884c46ee9
commit
4d10daca1f
1 changed files with 8 additions and 1 deletions
|
@ -94,6 +94,11 @@ import com.raytheon.uf.edex.database.query.DatabaseQuery;
|
|||
* Jun 17, 2014 3296 randerso Cached PythonScript. Moved active table
|
||||
* backup and purging to a separate thread.
|
||||
* Added performance logging
|
||||
* Dec 30, 2014 16942 ryu Fix update of records for sites other than
|
||||
* the home site and its neighbors.
|
||||
* Pass issuance site id to getActiveTable()
|
||||
* in updateActiveTable() so records will
|
||||
* be updated correctly.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -288,11 +293,13 @@ public class ActiveTable {
|
|||
mode = ActiveTableMode.OPERATIONAL;
|
||||
}
|
||||
|
||||
String issueSiteId = newRecords.get(0).getOfficeid();
|
||||
|
||||
IPerformanceStatusHandler perfStat = PerformanceStatus
|
||||
.getHandler("ActiveTable");
|
||||
ITimer timer = TimeUtil.getTimer();
|
||||
timer.start();
|
||||
List<ActiveTableRecord> activeTable = getActiveTable(siteId, mode);
|
||||
List<ActiveTableRecord> activeTable = getActiveTable(issueSiteId, mode);
|
||||
timer.stop();
|
||||
perfStat.logDuration("getActiveTable", timer.getElapsedTime());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue