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

Change-Id: I9053182b6c02d6c77e10e23b017b94bcff4da58b

Former-commit-id: 11196e7275 [formerly a70786ff22] [formerly 2a32d5945c] [formerly 11196e7275 [formerly a70786ff22] [formerly 2a32d5945c] [formerly ae272328a3 [formerly 2a32d5945c [formerly 4bca3ffd258a6869150154e93abb652a1f22bc4d]]]]
Former-commit-id: ae272328a3
Former-commit-id: ed0f24b1f0 [formerly 4171066d84] [formerly e28a234c0ae60b0a65752feb1c62a4f4f5adcd36 [formerly 94e01820a2]]
Former-commit-id: 381f55d183136f0bd97474c6c8ee8df930dbca9f [formerly 141996f0ab]
Former-commit-id: df3b41ed7d
This commit is contained in:
Shawn.Hooper 2014-07-22 15:55:31 -04:00
parent 7605bb0f3c
commit 4dfee55328

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)