~ne02ptzero/libfloat

periodic: Change log level from ERROR to DEBUG on gray-failure checks v1 APPLIED

Louis Solofrizzo: 1
 periodic: Change log level from ERROR to DEBUG on gray-failure checks

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ne02ptzero/libfloat/patches/47503/mbox | git am -3
Learn more about email & git

[PATCH] periodic: Change log level from ERROR to DEBUG on gray-failure checks Export this patch

Signed-off-by: Louis Solofrizzo <lsolofrizzo@scaleway.com>
---
 periodic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/periodic.c b/periodic.c
index 32ed0d4..893c08d 100644
--- a/periodic.c
+++ b/periodic.c
@@ -146,7 +146,7 @@ void libfloat_periodic(libfloat_ctx_t *ctx, uint32_t time)
                    ctx->gray_failures.checking = true;
                    ctx->gray_failures.check_time = ms_to_s(ctx->global_timer);

                    ERROR(ctx, "Launching leader-check because timeout has been reached");
                    DEBUG(ctx, "Launching leader-check because timeout has been reached");
                    for_every_node(ctx, node, {
                        if (node->id == ctx->me->id)
                        {
-- 
2.43.0
LG