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

Allows clients to specify max_shown_tasks in task_list #1847

Merged
merged 1 commit into from
Sep 12, 2016

Conversation

daveFNbuck
Copy link
Contributor

Description

Adds an optional max_shown_tasks argument to task_list to override the server-configured value.

Motivation and Context

I have some scripts that process task_list for reporting. When the response length goes beyond the maximum shown tasks, the scripts all break. In order to allow the scripts to keep reporting as things get backed up, this adds an optional argument to override the config's max shown tasks in task_list, while keeping the configured default for the visualizer.

This could also potentially be used in the visualizer to make the number of tasks shown configurable by users.

Have you tested this? If so, how?

I included a unit test and I've been using this in production for about 3 months.

I have some scripts that process task_list for reporting. When the
response length goes beyond the maximum shown tasks, the scripts all
break. In order to allow the scripts to keep reporting as things get
backed up, this adds an optional argument to override the config's max
shown tasks in task_list, while keeping the configured default for the
visualizer.
@Tarrasch Tarrasch merged commit ec485b7 into spotify:master Sep 12, 2016
@Tarrasch
Copy link
Contributor

Looks good to me! :)

@daveFNbuck daveFNbuck deleted the parameterize_task_list branch September 12, 2016 17:08
This was referenced Jun 29, 2022
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