aria-jpl / coseismic_enumerator

Submits a given AOI's enumeration jobs for all intersecting POEORB's
Apache License 2.0
1 stars 0 forks source link

Configurable number of retries for Enumerator cronjob submission #9

Closed riverma closed 3 years ago

riverma commented 3 years ago

Is your feature request related to a problem? Please describe. When testing the enumerator, in case the PGE crashes, currently HySDS retries job submissions to 5 attempts. This is normally okay, but frustrating in that we have to wait 5x longer than needed to read and debug a given _stderr.txt (each retry overwrites the file).

Describe the solution you'd like A default of 5 retries specified in a configuration file that can be adjusted by hand if needed. Specifically this code block most likely.

Describe alternatives you've considered n/a

Additional context Add any other context or screenshots about the feature request here.

al-niessner commented 3 years ago

Cron is your retry. Do not have hysds retry.

On Mon, Apr 12, 2021, 14:47 Rishi Verma @.***> wrote:

Assigned #9 https://github.com/aria-jpl/coseismic_enumerator/issues/9 to @al-niessner https://github.com/al-niessner.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/aria-jpl/coseismic_enumerator/issues/9#event-4584740193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIUBIWSAH3EAEJ45ZTUFGTTINTANANCNFSM422DJDAA .