Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Commit

Permalink
fix(1678): Add configurable retryDelay and maxAttempts (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
tk3fftk authored and tkyi committed Jun 17, 2019
1 parent d6c205f commit bdc2801
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/custom-environment-variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ executor:
breaker:
# in milliseconds
timeout: CIRCUIT_TIMEOUT
requestretry:
# in milliseconds
retryDelay: REQUEST_RETRYDELAY
maxAttempts: REQUEST_MAXATTEMPTS
k8s-vm:
options:
# Configuration of Docker
Expand Down Expand Up @@ -122,6 +126,10 @@ executor:
breaker:
# in milliseconds
timeout: CIRCUIT_TIMEOUT
requestretry:
# in milliseconds
retryDelay: REQUEST_RETRYDELAY
maxAttempts: REQUEST_MAXATTEMPTS
jenkins:
options:
jenkins:
Expand Down
10 changes: 10 additions & 0 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ executor:
breaker:
# in milliseconds
timeout: 10000
# requestretry configs
requestretry:
# in milliseconds
retryDelay: 3000
maxAttempts: 5
k8s-vm:
options:
# Configuration of Docker
Expand Down Expand Up @@ -78,6 +83,11 @@ executor:
breaker:
# in milliseconds
timeout: 10000
# requestretry configs
requestretry:
# in milliseconds
retryDelay: 3000
maxAttempts: 5
# jenkins:
# options:
# # Configuration of Jenkins
Expand Down

0 comments on commit bdc2801

Please sign in to comment.