[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive a61c660ee6 29/49: Change: (-fill-version-ranges
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive a61c660ee6 29/49: Change: (-fill-version-ranges) Rename limit to total-requests-limit |
Date: |
Wed, 20 Sep 2023 19:01:33 -0400 (EDT) |
branch: elpa/hyperdrive
commit a61c660ee6b291789a175fb785d6e9e7b146026a
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (-fill-version-ranges) Rename limit to total-requests-limit
---
hyperdrive-lib.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index d286877565..34fcccd6ad 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -804,7 +804,7 @@ Returns the ranges cons cell for ENTRY."
Once all requests return, call FINALLY with no arguments."
(declare (indent defun))
(let* ((outstanding-nonexistent-requests-p)
- (limit hyperdrive-fill-version-ranges-limit)
+ (total-requests-limit hyperdrive-fill-version-ranges-limit)
(fill-entry-queue (make-plz-queue :limit hyperdrive-queue-limit
:finally (lambda ()
(unless
outstanding-nonexistent-requests-p
@@ -816,7 +816,7 @@ Once all requests return, call FINALLY with no arguments."
(setf (hyperdrive-entry-version entry)
;; Fill end of previous range.
(1- (car (hyperdrive-entry-version-range entry))))
- (if (and (cl-plusp limit)
+ (if (and (cl-plusp total-requests-limit)
(eq 'unknown (hyperdrive-entry-exists-p entry)))
;; Recurse backward through history.
@@ -831,7 +831,7 @@ Once all requests return, call FINALLY with no arguments."
;; If the
fill-nonexistent loop stopped
;; prematurely,
stop filling and call `finally'.
(funcall finally)
- (cl-decf limit
hyperdrive-queue-limit)
+ (cl-decf
total-requests-limit hyperdrive-queue-limit)
(let
((last-requested-entry (hyperdrive-copy-tree entry t)))
(cl-incf
(hyperdrive-entry-version last-requested-entry))
(if
(hyperdrive-entry-exists-p last-requested-entry)
@@ -843,7 +843,7 @@ Once all requests return, call FINALLY with no arguments."
(cl-decf (hyperdrive-entry-version entry))
(unless (and (cl-plusp (hyperdrive-entry-version entry))
(eq 'unknown (hyperdrive-entry-exists-p
entry))
- (> limit i))
+ (> total-requests-limit i))
;; Stop at the beginning of the history, at a known
;; existent/nonexistent entry, or at the limit.
(setf finishedp t)
@@ -860,7 +860,7 @@ Once all requests return, call FINALLY with no arguments."
(setf outstanding-nonexistent-requests-p t))))
(fill-entry (entry)
(let ((copy-entry (hyperdrive-copy-tree entry t)))
- (cl-decf limit)
+ (cl-decf total-requests-limit)
(hyperdrive-fill copy-entry
;; `hyperdrive-fill' is only used to fill the version
ranges;
;; the filled-entry is thrown away.
- [nongnu] elpa/hyperdrive 063c2275d1 09/49: WIP: (-fill-version-ranges) Fill existent and nonexistent ranges, (continued)
- [nongnu] elpa/hyperdrive 063c2275d1 09/49: WIP: (-fill-version-ranges) Fill existent and nonexistent ranges, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 73cef39917 12/49: WIP: Fix off-by-one, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 05a0421bbb 16/49: Change: (hyperdrive-fill-version-ranges) Use finishedp flag, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive cb91f4adac 03/49: Add: (-history-fill-version-ranges) Interactively fill versions, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 2c8a76234d 20/49: Tidy: (-fill-version-ranges) Rename queue to fill-entry-queue, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 830904c5cf 22/49: Comment: Remove TODO, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 92a54cb93c 23/49: Fix: (hyperdrive-update-nonexistent-version-range) Docstring, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 53b48e337e 27/49: Tidy: (hyperdrive-fill-version-ranges) Don't let-bind finally, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 46490c55a2 26/49: Tidy: (-fill-version-ranges) Return nil from cl-dotimes for clarity, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 758486bcdd 28/49: Change: Rename hyperdrive-queue-size to hyperdrive-queue-limit, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive a61c660ee6 29/49: Change: (-fill-version-ranges) Rename limit to total-requests-limit,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 11cf863344 31/49: Comment: Add TODO, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive cb7d11be63 38/49: Tidy: Remove message statements, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 381ffe4a59 42/49: Comment: Add TODO, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive cfb434e0d0 34/49: Change: (-entry-version-range) Accept keyed argument version, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive bbbf1ff7e8 32/49: WIP:, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 21fe5af744 43/49: Tidy: (hyperdrive-entry-version-range) Declare indent defun, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 8363c8d2c7 44/49: Change: (-entry-version-ranges-no-gaps) Add cache-only option, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive bd3e8c90ef 48/49: Merge branch 'wip/history-fill-version-ranges-2', ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive b777ee2722 37/49: Change: (-fill-version-ranges) Rename labeled functions to -at, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 76ef2b3552 19/49: Comment: Remove NOTE, ELPA Syncer, 2023/09/20