[TUI] Configurable tick interval#1669
Merged
martin-g merged 3 commits intoapache:mainfrom May 8, 2026
Merged
Conversation
Rename the config file from `.../ballista/config.yaml` to `.../ballista/tui.yaml` Full paths: ``` |Platform | Example | | ------- | ---------------------------------------- | | Linux | /home/alice/.config/ballista/tui.yaml | | macOS | /Users/Alice/Library/Application Support/ballista/tui.yaml | | Windows | C:\Users\Alice\AppData\Local\ballista\tui.yaml | ``` Override with env vars: * BALLISTA_HTTP_TIMEOUT=30000 * BALLISTA_SCHEDULER_URL=https://example.com:50050 * BALLISTA_TICK_INTERVAL=1000
milenkovicm
approved these changes
May 8, 2026
| pub scheduler: SchedulerSettings, | ||
| pub http: HttpSettings, | ||
| /// How often to refresh the UI. In millis. | ||
| pub tick_interval: u64, |
Contributor
There was a problem hiding this comment.
tick_interval_ms maybe ?
Log the configuration as DEBUG at app start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
N/A
Rationale for this change
Make it possible to use a custom tick interval for the UI updates.
What changes are included in this PR?
tick_intervalwith default value of 2000ms.dirs::config_local_dir().../ballista/config.yamlto.../ballista/tui.yamlExample full paths:
All config settings could be overwritten with env vars:
Are there any user-facing changes?
The config file is renamed and a new setting is added.