Skip to content

Commit

Permalink
Retry GdalPythonImportJobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Dec 12, 2023
1 parent 8b869f6 commit 83358d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/pydantic/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ class PostgresqlClientJob(Job):


class GdalPythonImportJob(Job):
"""Use for write operations to PostgreSQL which require GDAL/ Ogr2Ogr
drivers."""
"""Use for write operations to PostgreSQL which require GDAL/Ogr2Ogr
drivers. NOTE: JOB MUST BE SAFE TO RETRY!"""

job_queue = AURORA_JOB_QUEUE
job_definition = GDAL_PYTHON_JOB_DEFINITION
vcpus = 1
memory = 2500
attempts = 1
attempts = 10
attempt_duration_seconds = DEFAULT_JOB_DURATION


Expand Down

0 comments on commit 83358d5

Please sign in to comment.