chef-boneyard / opscode-pushy-client

Client API for Pushy
Apache License 2.0
12 stars 14 forks source link

Drop stdout and stderr from message if it exceeds MAX_BODY_SIZE #111

Closed smith closed 7 years ago

smith commented 7 years ago

If a message's stdout and stderr are too large, the server can choke and not properly mark the job as complete. Instead of leaving the job in an unknown state, drop the stdout and stderr keys from the message and log a warning.

gif-keyboard-8853674224225632864