Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Commit

Permalink
Increase TCP max line length to 99990
Browse files Browse the repository at this point in the history
We want to be able to send longer log messages than ~10k.

Also this seems like a typo as in the used library the default value is 99990. [1]

[1] https://github.com/papertrail/remote_syslog2/blob/bb588fe75acc16fc38c5d66c9d365aff9c911129/config.go#L82
  • Loading branch information
bandesz committed Mar 29, 2018
1 parent 7fe5522 commit ffeaa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syslog/drainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func NewDrainer(drain Drain, hostname string) (*drainer, error) {
nil,
30*time.Second,
30*time.Second,
9990,
99990,
)

if err != nil {
Expand Down

0 comments on commit ffeaa50

Please sign in to comment.