Skip to content

Commit

Permalink
Merge pull request #49 from newrelic/fix_max_packet_size
Browse files Browse the repository at this point in the history
Max Packet Size should be 1 million bytes
  • Loading branch information
matildasmeds committed Sep 22, 2020
2 parents ebbc2e4 + 4d748d5 commit 0d454f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions merge-to-master-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pool:

variables:
GOBIN: '$(GOPATH)/bin' # Go binaries path
GOROOT: '/usr/local/go1.12.17'
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

Expand Down Expand Up @@ -93,4 +92,4 @@ steps:
$(modulePath)/out_newrelic_win32.dll
$(modulePath)/out_newrelic_win64.dll
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
changeLogType: 'commitBased'
3 changes: 1 addition & 2 deletions pr-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
pr:
branches:
include:
- '*'
- '*'

pool:
vmImage: 'ubuntu-16.04' # Has Docker

variables:
GOBIN: '$(GOPATH)/bin' # Go binaries path
GOROOT: '/usr/local/go1.12.17'
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

Expand Down
2 changes: 1 addition & 1 deletion record/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
)

const maxPacketSize = 1 << 20 // 1 MegaByte
const maxPacketSize = 1000000 // bytes

type FluentBitRecord map[interface{}]interface{}

Expand Down

0 comments on commit 0d454f3

Please sign in to comment.