From 3ebcd200caffe72577f744fcf909485ddc6fd8ca Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 3 Nov 2020 12:13:43 +0100 Subject: [PATCH] Remove should-retry debug spew Every http operation (even when successfull) was spewing info about whether to retry it which made it hard to read the logs. --- common/flatpak-utils-http.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/flatpak-utils-http.c b/common/flatpak-utils-http.c index 3fc65e1a..959f531e 100644 --- a/common/flatpak-utils-http.c +++ b/common/flatpak-utils-http.c @@ -563,14 +563,6 @@ static gboolean flatpak_http_should_retry_request (const GError *error, guint n_retries_remaining) { - if (error == NULL) - g_debug ("%s: error: unset, n_retries_remaining: %u", - G_STRFUNC, n_retries_remaining); - else - g_debug ("%s: error: %u:%u %s, n_retries_remaining: %u", - G_STRFUNC, error->domain, error->code, error->message, - n_retries_remaining); - if (error == NULL || n_retries_remaining == 0) return FALSE;