Skip to content

Commit

Permalink
Improve active task queue definition (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahabT authored Sep 4, 2024
1 parent 4a1ab98 commit f6a14e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@
},
{
"name": "versions.allActive",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently.",
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls.",
"in": "query",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -3710,7 +3710,7 @@
},
{
"name": "versions.allActive",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently.",
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls.",
"in": "query",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -10882,7 +10882,7 @@
},
"allActive": {
"type": "boolean",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently."
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls."
}
},
"description": "Used for specifying versions the caller is interested in."
Expand Down
8 changes: 4 additions & 4 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,8 @@ paths:
- name: versions.allActive
in: query
description: |-
Include all active versions. A version is considered active if it has had new
tasks or polls recently.
Include all active versions. A version is considered active if, in the last few minutes,
it has had new tasks or polls, or it has been the subject of certain task queue API calls.
schema:
type: boolean
- name: taskQueueTypes
Expand Down Expand Up @@ -3251,8 +3251,8 @@ paths:
- name: versions.allActive
in: query
description: |-
Include all active versions. A version is considered active if it has had new
tasks or polls recently.
Include all active versions. A version is considered active if, in the last few minutes,
it has had new tasks or polls, or it has been the subject of certain task queue API calls.
schema:
type: boolean
- name: taskQueueTypes
Expand Down
4 changes: 2 additions & 2 deletions temporal/api/taskqueue/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ message TaskQueueVersionSelection {
repeated string build_ids = 1;
// Include the unversioned queue.
bool unversioned = 2;
// Include all active versions. A version is considered active if it has had new
// tasks or polls recently.
// Include all active versions. A version is considered active if, in the last few minutes,
// it has had new tasks or polls, or it has been the subject of certain task queue API calls.
bool all_active = 3;
}

Expand Down

0 comments on commit f6a14e5

Please sign in to comment.