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

This commit is contained in:
Dan Helfman 2024-06-25 12:45:44 -07:00
parent cc402487d9
commit ebde88ccaa
2 changed files with 3 additions and 2 deletions

3
NEWS
View file

@ -1,5 +1,6 @@
1.8.13.dev0 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 1.8.12
* #817: Add a "--max-duration" flag to the "check" action and a "max_duration" option to the * #817: Add a "--max-duration" flag to the "check" action and a "max_duration" option to the

View file

@ -15,7 +15,7 @@ MONITOR_STATE_TO_HEALTHCHECKS = {
monitor.State.LOG: 'log', monitor.State.LOG: 'log',
} }
DEFAULT_PING_BODY_LIMIT_BYTES = 1500 DEFAULT_PING_BODY_LIMIT_BYTES = 100000
HANDLER_IDENTIFIER = 'healthchecks' HANDLER_IDENTIFIER = 'healthchecks'