Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kevinwang
Copy link
Contributor

Description

This adds a new config value which, when set to false, will turn disable the functionality of the pause/unpause RPC methods and also hide the pause toggle from the visualiser.

Motivation and Context

We wish to have the ability to disable this functionality because curious engineers may click the button without knowing what it does and accidentally pause all tasks.

Have you tested this? If so, how?

I ensured that when the config is set to false, the button is hidden from the visualiser.

@Tarrasch
Copy link
Contributor

Looks great! Would you mind at least make an API-unittest even if you don't have a unittest for the UI part?

@Tarrasch Tarrasch merged commit 1b2f0fd into spotify:master Apr 17, 2018
@Tarrasch
Copy link
Contributor

Thanks. Hopefully one day (in far distant future) we'll have proper ACLs and stuff. :)

@kevinwang kevinwang deleted the pause-enabled-config branch April 17, 2018 18:56
alanxu00 pushed a commit to Affirm/luigi that referenced this pull request Jan 18, 2024
alanxu00 pushed a commit to Affirm/luigi that referenced this pull request Jan 18, 2024
alanxu00 added a commit to Affirm/luigi that referenced this pull request Jan 19, 2024
Add configuration to enable/disable the pause button (spotify#2399)
alanxu00 added a commit to Affirm/luigi that referenced this pull request Jan 19, 2024
* Add configuration to enable/disable the pause button (spotify#2399)

* bump version to 2.7.5+affirm.1.4.7

---------

Co-authored-by: Kevin Wang <[email protected]>
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