gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 132/324: mq: Do not hardcode suspicious queue length.


From: gnunet
Subject: [gnunet-scheme] 132/324: mq: Do not hardcode suspicious queue length.
Date: Tue, 21 Sep 2021 13:22:52 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 7096e90d3727aef795699a05aaff4c59b6c18303
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Jun 12 12:07:20 2021 +0200

    mq: Do not hardcode suspicious queue length.
    
    * gnu/gnunet/mq.scm (send-message!): Replace 10000 with
      %suspicious-length.
---
 gnu/gnunet/mq.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/gnunet/mq.scm b/gnu/gnunet/mq.scm
index 5884f0e..85e75a6 100644
--- a/gnu/gnunet/mq.scm
+++ b/gnu/gnunet/mq.scm
@@ -217,7 +217,7 @@ will be called."
         ;; The C implementation emits a warning if the queue has
         ;; many entries, as this may indicate a bug (in the scheduler,
         ;; in the queue implementation, ...). This seems a good idea.
-        (when (>= queue-length 10000)
+        (when (>= queue-length %suspicious-length)
           (raise-continuable
            (condition (make-overly-full-queue-warning
                        queue-length %suspicious-length)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]