Skip to content

Commit c14220c

Browse files
jagednabhi18av
authored andcommitted
explain http error codes
Signed-off-by: Jorge Aguilera <[email protected]>
1 parent 7062ff2 commit c14220c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

plugins/nf-nomad/src/main/nextflow/nomad/executor/FailsafeExecutor.groovy

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ class FailsafeExecutor {
4141
.build()
4242
}
4343

44+
/*
45+
408 Request Timeout
46+
429 Too Many Requests
47+
500 Internal Server Error
48+
502 Bad Gateway
49+
503 Service Unavailable
50+
504 Gateway Timeout
51+
*/
4452
final private static List<Integer> RETRY_CODES = List.of(408, 429, 500, 502, 503, 504)
4553

4654
protected <T> T apply(CheckedSupplier<T> action) {

0 commit comments

Comments
 (0)