瀏覽代碼

Fix the Healthchecks ping body size limit, restoring it to the documented 100,000 bytes (#889).

Dan Helfman 11 月之前
父節點
當前提交
ebde88ccaa
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      NEWS
  2. 1 1
      borgmatic/hooks/healthchecks.py

+ 2 - 1
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

+ 1 - 1
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'