From ae272328a3b2755e272a335114993f9278e06aea Mon Sep 17 00:00:00 2001 From: "Shawn.Hooper" Date: Tue, 22 Jul 2014 15:55:31 -0400 Subject: [PATCH] ASM #15630 - Check-in fix for GFE: Missing ISC Wind Grids on behalf of Ron Anderson Change-Id: I9053182b6c02d6c77e10e23b017b94bcff4da58b Former-commit-id: 4bca3ffd258a6869150154e93abb652a1f22bc4d --- .../utility/edex_static/base/gfe/isc/iscMosaic.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/gfe/isc/iscMosaic.py b/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/gfe/isc/iscMosaic.py index 5fdd6066ac..70bf4b68fe 100644 --- a/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/gfe/isc/iscMosaic.py +++ b/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/gfe/isc/iscMosaic.py @@ -30,6 +30,7 @@ except: import numpy import JUtil +from java.lang import System from java.util import ArrayList from java.util import LinkedHashMap from com.raytheon.uf.common.dataplugin.gfe.grid import Grid2DFloat @@ -87,6 +88,7 @@ from com.raytheon.uf.edex.database.cluster import ClusterTask # 01/09/14 16952 randerso Fix regression made in #2517 which caused errors with overlapping grids # 02/04/14 17042 ryu Check in changes for randerso. # 04/11/2014 17242 David Gillingham (code checked in by zhao) +# 07/22/2014 17484 randerso Update cluster lock time to prevent time out # BATCH_DELAY = 0.0 @@ -726,6 +728,9 @@ class IscMosaic: # process incoming grids for i in xrange(len(inTimes)): + # update cluster lock time to avoid time out + ClusterLockUtils.updateLockTime("ISC Write Lock", parmName ,System.currentTimeMillis()) + # Put in a delay so we don't hammer the server so hard. if self.__gridDelay > 0.0: time.sleep(self.__gridDelay)