Healthchecks.io: Default for ping_body_limit #889
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#889
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I noticed a small error with the default value for the
ping_body_limitof the healthchecks.io integration. According to the documentation, the default value should be 100000, but I have noticed truncated logs in my checks for some time now.I have noticed that the default value has changed since the following commit:
9647301b99 (diff-03470cdfb). The variableDEFAULT_PING_BODY_LIMIT_BYTESis now set to 1500 bytes and no longer to 100000.My current workaround is to set the value for
ping_body_limitto 100000 in the borgmatic config.Steps to reproduce
Just make a backup and inspect the truncated logs in the healthchecks.io checks.
Actual behavior
The logs are truncated.
Expected behavior
The logs should be readable in full and not be cut off using the default value for
ping_body_limit.Other notes / implementation ideas
No response
borgmatic version
1.8.12
borgmatic installation method
pip install
Borg version
borg 1.2.8
Python version
Python 3.10.12
Database version (if applicable)
n/a
Operating system and version
Ubuntu 22.04.4 LTS
Thanks for reporting this.. Good catch! I'm not sure why/how this default value regressed, but I do know that the maximum body size on older versions of the Healthchecks server used to be lower. In any case, I'm fine changing it back to 100000. I'm glad you have a work-around for now!
Fixed in main and will be part of the next release!
Released in borgmatic 1.8.13!