Skip to content

Commit e29d8ee

Browse files
author
Tihomir Surdilovic
authored
Merge pull request #20 from tsurdilo/nondeterinretries
adding jitter to retry def
2 parents 59754ae + 753216f commit e29d8ee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

api/src/main/resources/schema/retry/retry.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
"maxAttempts": {
1919
"type": "string",
2020
"default": "0",
21-
"description": "Maximum number of retry attempts (1 by default). Value of 0 means no retries are performed"
21+
"description": "Maximum number of retry attempts. Value of 0 means no retries are performed"
22+
},
23+
"jitter": {
24+
"type": "string",
25+
"minimum": 0.0,
26+
"maximum": 1.0,
27+
"description": "Absolute maximum amount of random time added or subtracted from the delay between each retry (ISO 8601 duration format)"
2228
}
2329
},
2430
"required": [

0 commit comments

Comments
 (0)