Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configuration property to disable getTaskTypes endpoint #198

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

gabrieltaets-tw
Copy link
Contributor

@gabrieltaets-tw gabrieltaets-tw commented Apr 17, 2024

Context

Some services have extreme amount of tasks and the /getTaskTypes endpoints may timeout and put stress on the database.
Service owners may now opt out of the endpoint by simply disabling it if they do not wish to add an index to improve the query.
The UI will stop querying for distinct task types (it is ready to expect failures from this endpoint), but server-side filtering will still be possible (just retrieval of possible task types is limited).

Checklist

@gabrieltaets-tw gabrieltaets-tw requested a review from a team as a code owner April 17, 2024 14:15
@gabrieltaets-tw gabrieltaets-tw force-pushed the disable-get-task-types branch from dce5b9c to 2447be6 Compare April 17, 2024 14:19
@gabrieltaets-tw gabrieltaets-tw force-pushed the disable-get-task-types branch from 2447be6 to a053a89 Compare April 17, 2024 14:21
@gabrieltaets-tw gabrieltaets-tw enabled auto-merge (squash) April 17, 2024 14:28
@gabrieltaets-tw gabrieltaets-tw merged commit 9d3af41 into master Apr 18, 2024
15 checks passed
@gabrieltaets-tw gabrieltaets-tw deleted the disable-get-task-types branch April 18, 2024 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants