From 6c4ee56eed9941443691894b5d80c73f9cfd0155 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Fri, 25 Nov 2022 21:16:47 +0100 Subject: [PATCH] remove debug sleep (fixes #1451) --- CHANGELOG.md | 1 + asyncgit/src/treefiles.rs | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8282fe4e..655402a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixes * commit msg history ordered the wrong way ([#1445](https://github.com/extrawurst/gitui/issues/1445)) * improve help documentation for amend cmd ([#1448](https://github.com/extrawurst/gitui/issues/1448)) +* lag issue when showing files tab ([#1451](https://github.com/extrawurst/gitui/issues/1451)) ## [0.22.1] - 2022-11-22 diff --git a/asyncgit/src/treefiles.rs b/asyncgit/src/treefiles.rs index 434c9c24..da3fc51b 100644 --- a/asyncgit/src/treefiles.rs +++ b/asyncgit/src/treefiles.rs @@ -65,9 +65,6 @@ impl AsyncJob for AsyncTreeFilesJob { JobState::Request { commit, repo } => { let files = tree_files(&repo, commit); - std::thread::sleep( - std::time::Duration::from_secs(2), - ); JobState::Response(FileTreeResult { commit, result: files,