[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 7d20ba30ad 19/32: Fix/Change: Use hyperdrive-qu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 7d20ba30ad 19/32: Fix/Change: Use hyperdrive-queue-size everywhere |
Date: |
Mon, 4 Sep 2023 18:59:35 -0400 (EDT) |
branch: elpa/hyperdrive
commit 7d20ba30adc6134b1f524343028b90294d4a4ab9
Author: Joseph Turner <joseph@ushin.org>
Commit: Adam Porter <adam@alphapapa.net>
Fix/Change: Use hyperdrive-queue-size everywhere
---
hyperdrive-diff.el | 2 +-
hyperdrive-handlers.el | 2 +-
hyperdrive-history.el | 2 +-
hyperdrive-lib.el | 2 +-
hyperdrive-mirror.el | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hyperdrive-diff.el b/hyperdrive-diff.el
index 18fc16e6ff..fe0161efbd 100644
--- a/hyperdrive-diff.el
+++ b/hyperdrive-diff.el
@@ -66,7 +66,7 @@ This function is intended to diff files, not directories."
(let* (old-response
new-response
(queue (make-plz-queue
- :limit 2
+ :limit hyperdrive-queue-size
:finally (lambda ()
(unless (or old-response new-response)
(hyperdrive-error "Files non-existent"))
diff --git a/hyperdrive-handlers.el b/hyperdrive-handlers.el
index 5a2cc3f7f7..a9b7140609 100644
--- a/hyperdrive-handlers.el
+++ b/hyperdrive-handlers.el
@@ -146,7 +146,7 @@ arguments."
metadata-queue (make-plz-queue
;; Experimentation seems to show that a
;; queue size of about 20 performs best.
- :limit 20
+ :limit hyperdrive-queue-size
:finally (lambda ()
(with-current-buffer (ewoc-buffer
ewoc)
(ewoc-set-hf ewoc header "")
diff --git a/hyperdrive-history.el b/hyperdrive-history.el
index 0d23ffeddb..c376f13cb5 100644
--- a/hyperdrive-history.el
+++ b/hyperdrive-history.el
@@ -201,7 +201,7 @@ Universal prefix argument \\[universal-argument] forces
range-entries))
;; TODO: Display files in pop-up window, like magit-diff buffers
appear when selected from magit-log
(display-buffer (current-buffer)
hyperdrive-history-display-buffer-action)
- (setf queue (make-plz-queue :limit 8
+ (setf queue (make-plz-queue :limit hyperdrive-queue-size
:finally (lambda ()
;; NOTE: Ensure that the
buffer's window is selected,
;; if it has one.
(Workaround a possible bug in EWOC.)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 19fb382f20..dc0781282d 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -605,7 +605,7 @@ requests return, call THEN with no arguments."
(if ranges-to-fill
(progn
;; TODO: When `plz' lets us handle errors in the queue finalizer,
add that here.
- (setf queue (make-plz-queue :limit 8 :finally then))
+ (setf queue (make-plz-queue :limit hyperdrive-queue-size :finally
then))
(cl-labels ((fill-recursively (unknown-entry)
;; NOTE: `fill-recursively' is recursive logically but
;; not technically, because each call is in the async
callback.
diff --git a/hyperdrive-mirror.el b/hyperdrive-mirror.el
index 27113c5052..3a0c46b2d0 100644
--- a/hyperdrive-mirror.el
+++ b/hyperdrive-mirror.el
@@ -51,7 +51,7 @@ uploading files, open PARENT-ENTRY."
(progress-reporter
(make-progress-reporter (format "Uploading %s files: " (length
files-and-urls)) 0 (length files-and-urls)))
(queue (make-plz-queue
- :limit 2
+ :limit hyperdrive-queue-size
:finally (lambda ()
(progress-reporter-done progress-reporter)
(hyperdrive-open parent-entry)
- [nongnu] elpa/hyperdrive 45802e59cc 18/32: Fix: (hyperdrive-handler-directory) Ensure buffer-modified-p nil, (continued)
- [nongnu] elpa/hyperdrive 45802e59cc 18/32: Fix: (hyperdrive-handler-directory) Ensure buffer-modified-p nil, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive bd440b6465 27/32: Remove: (hyperdrive-column-headers), ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 27c1a81a51 32/32: Merge branch 'wip/dir-sort', ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive c2af53e72d 07/32: Add: (hyperdrive-dir-sort, hyperdrive-complete-sort), ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 994b782630 09/32: Comment: Add TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive aa969e7bf5 10/32: Add: Progress report in footer, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive bf955d34d3 28/32: Add/Change: (hyperdrive-column-headers), ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive de8a963986 05/32: WIP, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive d75559667b 06/32: WIP, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 126f767a46 12/32: Comment: Add TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 7d20ba30ad 19/32: Fix/Change: Use hyperdrive-queue-size everywhere,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive fb915a005c 25/32: Comment: Add TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 9100b1e748 29/32: Fix: (hyperdrive-column-headers), ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 369ec34f4f 21/32: Comment: Remove TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 899202254b 23/32: Comment: Remove TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 383c1c606e 17/32: Docs: Document hyperdrive-dir-sort, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 32b319d850 20/32: Meta: Update changelog, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive f70d3276fc 22/32: Comment: Remove TODO, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive f670ac3cf7 26/32: Change: (-handler-directory) with-silent-modifications in finally, ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 55ee45a7f0 30/32: Change: (hyperdrive-dir-sort), ELPA Syncer, 2023/09/04
- [nongnu] elpa/hyperdrive 79c4bdf2ec 31/32: Comment: Remove TODO, ELPA Syncer, 2023/09/04