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

[gui/control-panel] reduce frequency of warn-stranded check #904

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Template for new versions:
## Fixes

## Misc Improvements
- `gui/control-panel`: reduce frequency for `warn-stranded` check to once every 2 days

## Removed

Expand Down
2 changes: 1 addition & 1 deletion gui/control-panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ local REPEATS = {
command={'--time', '10', '--timeUnits', 'days', '--command', '[', 'warn-starving', ']'}},
['warn-stranded']={
desc='Show a warning dialog when units are stranded from all others.',
command={'--time', '0.25', '--timeUnits', 'days', '--command', '[', 'warn-stranded', ']'}},
command={'--time', '2', '--timeUnits', 'days', '--command', '[', 'warn-stranded', ']'}},
}
local REPEATS_LIST = {}
for k in pairs(REPEATS) do
Expand Down