summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorAlexander Strizhak <[email protected]>2024-07-27 15:10:07 +0300
committerGitHub <[email protected]>2024-07-27 14:10:07 +0200
commit8375d31c49cdfe80a8f5d6d78df236947fd74d59 (patch)
treeb3e91ed11b62f5bbc8c7ddd55343dd123b339960 /.rr.yaml
parente6e45001fd145b5a5e775c6965c02bf9f8dbb31b (diff)
[#1982]: fix: `services.exec_timeout` schema definition
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 5bf290c3..b5febff1 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -495,7 +495,7 @@ service:
# Allowed time before stop.
#
- # Default: 0 (infinity), can be 1s, 2m, 2h (seconds, minutes, hours)
+ # Default: 0 (infinity), can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
exec_timeout: 0s
# Show the name of the service in logs (e.g. service.some_service_1)
@@ -547,7 +547,7 @@ service:
# Allowed time before stop.
#
- # Default: 0 (infinity), can be 1s, 2m, 2h (seconds, minutes, hours)
+ # Default: 0 (infinity), can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
exec_timeout: 0s
# Remain process after exit. In other words, restart process after exit with any exit code.
@@ -1930,6 +1930,7 @@ grpc:
# zero or the connection establishment.
#
# This option is optional. Default value: infinity.
+ # Can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
max_connection_idle: 0s
# MaxConnectionAge is a duration for the maximum amount of time a
@@ -1938,11 +1939,13 @@ grpc:
# connection storms.
#
# This option is optional. Default value: infinity.
+ # Can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
max_connection_age: 0s
# MaxConnectionAgeGrace is an additive period after MaxConnectionAge after
# which the connection will be forcibly closed.
- max_connection_age_grace: 0s8h
+ # Can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
+ max_connection_age_grace: 8h
# MaxConnectionAgeGrace is an additive period after MaxConnectionAge after
# which the connection will be forcibly closed.
@@ -1955,6 +1958,7 @@ grpc:
# If set below 1s, a minimum value of 1s will be used instead.
#
# This option is optional. Default value: 2h
+ # Can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
ping_time: 1s
# After having pinged for keepalive check, the server waits for a duration
@@ -1962,6 +1966,7 @@ grpc:
# closed.
#
# This option is optional. Default value: 20s
+ # Can be 1s, 2m, 2h (seconds, minutes, hours) and complex 2h2m1s.
timeout: 200s
# Usual workers pool configuration