Is your feature request related to a problem? Please describe.
Currently, the automatic repository refresh interval (which sweeps for GitHub PR updates and SSH remote branch changes) is hardcoded to 5 minutes (.seconds(300)). While background polling can be disabled entirely, users cannot adjust the frequency. Some users hitting GitHub API rate limits or excessive SSH passphrase prompts may wish to reduce the polling frequency, while others may want more aggressive updates.
Describe the solution you'd like
I would like to expose automaticRepositoryRefreshInterval in the Worktree settings as a customizable text field. It should default to 5 minutes (to preserve current behavior) but allow the user to input any number of minutes.
When the setting is updated, WorktreeInfoWatcherManager should dynamically tear down its existing loop and restart it with the new interval without requiring an app restart.
Describe alternatives you've considered
No response
Are you planning to implement this yourself?
Before submitting
Is your feature request related to a problem? Please describe.
Currently, the automatic repository refresh interval (which sweeps for GitHub PR updates and SSH remote branch changes) is hardcoded to 5 minutes (
.seconds(300)). While background polling can be disabled entirely, users cannot adjust the frequency. Some users hitting GitHub API rate limits or excessive SSH passphrase prompts may wish to reduce the polling frequency, while others may want more aggressive updates.Describe the solution you'd like
I would like to expose
automaticRepositoryRefreshIntervalin the Worktree settings as a customizable text field. It should default to 5 minutes (to preserve current behavior) but allow the user to input any number of minutes.When the setting is updated,
WorktreeInfoWatcherManagershould dynamically tear down its existing loop and restart it with the new interval without requiring an app restart.Describe alternatives you've considered
No response
Are you planning to implement this yourself?
ready.Before submitting
ready.