Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ping body limit? #62

Closed
joshlopes opened this issue Oct 3, 2022 · 1 comment
Closed

Ping body limit? #62

joshlopes opened this issue Oct 3, 2022 · 1 comment

Comments

@joshlopes
Copy link

Not sure if it's a runittor issue or something else but I am using Runitor v0.10.1 (latest) witn the following configuration

/home/user/go/bin/runitor -uuid xx -api-url $APIURL -ping-body-limit=0 -- /bin/bash -c "cmd"

This used to work fine but now the logs are being truncated.

image

Not sure why?

@bdd
Copy link
Owner

bdd commented Oct 3, 2022

I believe truncation is done on the server side. Check your instance's ping body size limit configuration.
A telltale sign of server side truncation is the abrupt ending of logs. Runitor implements ping body limiting with a tail buffer, so you always get the last N-bytes of the output. Healthchecks server implements a head buffer. That's what's happening in the example truncated log above.

@bdd bdd closed this as completed Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants