ASM #16942 - GFE: VTEC Active Tables not getting purged
Change-Id: Ib71d667d8f59ab1fa3c669653d2bc8636bd7901c Former-commit-id: 6fbdb136e3968e197c38907a20ba898d9532e39e
This commit is contained in:
parent
544437c762
commit
14bb4d4d59
1 changed files with 8 additions and 1 deletions
|
@ -91,6 +91,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
|
||||
* Feb 05, 2015 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>
|
||||
*
|
||||
|
@ -285,11 +290,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