From ebde88ccaa70d24d7c7346ae3f22d1709502cc83 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 25 Jun 2024 12:45:44 -0700 Subject: [PATCH] Fix the Healthchecks ping body size limit, restoring it to the documented 100,000 bytes (#889). --- NEWS | 3 ++- borgmatic/hooks/healthchecks.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 700b568..94a14e6 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.8.13.dev0 - * #886: Fix PagerDuty hook traceback with Python < 3.10. + * #886: Fix a PagerDuty hook traceback with Python < 3.10. + * #889: Fix the Healthchecks ping body size limit, restoring it to the documented 100,000 bytes. 1.8.12 * #817: Add a "--max-duration" flag to the "check" action and a "max_duration" option to the diff --git a/borgmatic/hooks/healthchecks.py b/borgmatic/hooks/healthchecks.py index f7daf67..73d4eec 100644 --- a/borgmatic/hooks/healthchecks.py +++ b/borgmatic/hooks/healthchecks.py @@ -15,7 +15,7 @@ MONITOR_STATE_TO_HEALTHCHECKS = { monitor.State.LOG: 'log', } -DEFAULT_PING_BODY_LIMIT_BYTES = 1500 +DEFAULT_PING_BODY_LIMIT_BYTES = 100000 HANDLER_IDENTIFIER = 'healthchecks'