[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: create more specific FC war
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: create more specific FC warning |
Date: |
Tue, 26 Feb 2019 11:52:23 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new ec2d7fe4e create more specific FC warning
ec2d7fe4e is described below
commit ec2d7fe4eb37440a3e9539341d41a283feda8798
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 26 11:52:00 2019 +0100
create more specific FC warning
---
src/util/mq.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/util/mq.c b/src/util/mq.c
index 72ab8b72d..513c008ee 100644
--- a/src/util/mq.c
+++ b/src/util/mq.c
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- Copyright (C) 2012-2017 GNUnet e.V.
+ Copyright (C) 2012-2019 GNUnet e.V.
GNUnet is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published
@@ -374,7 +374,14 @@ GNUNET_MQ_send (struct GNUNET_MQ_Handle *mq,
GNUNET_assert (NULL == ev->parent_queue);
mq->queue_length++;
- GNUNET_break (mq->queue_length < 10000); /* This would seem like a bug... */
+ if (mq->queue_length >= 10000)
+ {
+ /* This would seem like a bug... */
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "MQ with %u entries extended by message of type %u (FC
broken?)\n",
+ (unsigned int) mq->queue_length,
+ (unsigned int) ntohs (ev->mh->type));
+ }
ev->parent_queue = mq;
/* is the implementation busy? queue it! */
if ( (NULL != mq->current_envelope) ||
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: create more specific FC warning,
gnunet <=