You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: post-request-schema.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
{
8
8
"args": ["hello", "world"],
9
9
"timeout": 60,
10
+
"force_unique_key": true,
10
11
"callback_context": {
11
12
"read_result_from": "/path/to/saved/file",
12
13
"force_success": true
@@ -30,6 +31,12 @@
30
31
"description": "Maximum timeout after which subprocess fails if not already complete.",
31
32
"default": 3600
32
33
},
34
+
"force_unique_key": {
35
+
"type": "boolean",
36
+
"title": "Flag to enable/disable internal rate limiting mechanism",
37
+
"description": "By default, the key is the SHA1 sum of the command + args POSTed to the API. This is done as a rate limiting measure so as to prevent multiple jobs with same parameters, if one such job is already running. If force_unique_key is set to true, the API will bypass this default behaviour and a psuedorandom key will be returned instead",
38
+
"default": false
39
+
},
33
40
"callback_context": {
34
41
"type": "object",
35
42
"title": "Additional context for user defined callback function",
0 commit comments