ASM #15630 - Check-in fix for GFE: Missing ISC Wind Grids on behalf of Ron Anderson

Change-Id: I9053182b6c02d6c77e10e23b017b94bcff4da58b

Former-commit-id: a70786ff22 [formerly 2a32d5945c] [formerly ae272328a3 [formerly 4bca3ffd258a6869150154e93abb652a1f22bc4d]]
Former-commit-id: ae272328a3
Former-commit-id: 94e01820a2
This commit is contained in:
Shawn.Hooper 2014-07-22 15:55:31 -04:00
parent be27a13d1d
commit 4171066d84

View file

@ -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)