Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pymonger committed Feb 8, 2018
1 parent d09ecef commit f5c865c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hysds_commons/job_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ def iterate(component, rule):

# disable dedup for passthru single submissions
enable_dedup = False if not run_query and single else True
logger.info("enable_dedup: %s" % enable_dedup)

# override enable_dedup setting from hysdsio
if 'enable_dedup' in hysdsio:
enable_dedup = hysdsio['enable_dedup']
logger.info("hysdsio overrided enable_dedup: %s" % enable_dedup)

ids.append(submit_mozart_job(product, rule, hysdsio,
job_name=job_name,
Expand Down

0 comments on commit f5c865c

Please sign in to comment.