Commit b0195fcc authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Increased database query timeout for DEM_Creator._get_DEMPathes_to_include().

parent 30cfa0cc
Pipeline #1618 passed with stage
in 10 minutes and 55 seconds
......@@ -452,7 +452,8 @@ class DEM_Creator(object):
sceneIDs_srtm = get_overlapping_scenes_from_postgreSQLdb(self.db_conn,
conditions=['datasetid=%s' % dsID])
conditions=['datasetid=%s' % dsID],
timeout=20000) # default timeout (15sec) is not enough
sceneIDs_srtm = [i[0] for i in sceneIDs_srtm]
if not sceneIDs_srtm:
raise RuntimeError('No matching %s scene IDs for DEM generation found.' % self.dem_sensor)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment