summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-03-06 13:32:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-03-06 13:32:47 -0400
commitac0dcdeeeb9f970419b9cee571e6438bc93b0785 (patch)
treefccef7d2ce120bc57cae1c2cfac4c59a4f41ce88 /CHANGELOG
parentb810f6903b7941f82b180f6399025b4266ee1c57 (diff)
assistant: Add 1/200th second delay between checking each file in the full transfer scan, to avoid using too much CPU.
The slowdown is not going to be large in typical small-ish repos. And it does not seem to matter if the assistant reacts a little bit slower in situations involving the expensive scan, since: a) Those situations typically involve getting back in sync after something has changed on a remote, often after a disconnect of some duration. So taking a few seconds more is not noticable. b) If the scan finds things that it needs to do, it will start blocking anyway after 10 transfers are queued (due to use of queueTransferWhenSmall). So, only the speed of finding the first 10 transfers will be impacted by this change. This commit was sponsored by Jochen Bartl on Patreon.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 524ad53c2..d6297bb79 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,8 @@ git-annex (6.20170301.2) UNRELEASED; urgency=medium
* status: Propigate nonzero exit code from git status.
* Linux standalone builds put the bundled ssh last in PATH,
so any system ssh will be preferred over it.
+ * assistant: Add 1/200th second delay between checking each file
+ in the full transfer scan, to avoid using too much CPU.
-- Joey Hess <id@joeyh.name> Thu, 02 Mar 2017 12:51:40 -0400