mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-09-14 20:00:38 +08:00
chore(picker): drop leftover references to removed timeout-ms (#2242)
This commit is contained in:
@@ -314,7 +314,7 @@ pub fn handle_picker(
|
||||
// Speculative warm-up: the picker sorts the current worktree first, and
|
||||
// the default tab (WorkingTree = `git diff HEAD` in that worktree) is
|
||||
// what skim will render first. Kicking this off before `collect::collect`
|
||||
// overlaps preview compute with list collection (up to 500ms budget).
|
||||
// overlaps preview compute with list collection.
|
||||
// The real spawn later skips this key via `contains_key`.
|
||||
if let (Ok(Some(branch)), Ok(path)) = (
|
||||
repo.current_worktree().branch(),
|
||||
|
||||
@@ -887,12 +887,6 @@ impl TestRepo {
|
||||
"WORKTRUNK_APPROVALS_PATH".to_string(),
|
||||
self.test_approvals_path().display().to_string(),
|
||||
),
|
||||
// Disable picker collect timeout to prevent flaky snapshots on slow
|
||||
// CI runners (especially macOS).
|
||||
(
|
||||
"WORKTRUNK__SWITCH__PICKER__TIMEOUT_MS".to_string(),
|
||||
"0".to_string(),
|
||||
),
|
||||
]);
|
||||
|
||||
vars
|
||||
|
||||
Reference in New Issue
Block a user