This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Streaming configuration:
98
98
request to the APM Server. An overshoot of up to the size of the
99
99
internal zlib buffer should be expected as the buffer is flushed after
100
100
this limit is reached. The default zlib buffer size is 16 kb (default:
101
- ` 1048576 ` bytes / 1 MB )
101
+ ` 768000 ` bytes)
102
102
- ` time ` - The maxiumum number of milliseconds a streaming HTTP request
103
103
to the APM Server can be ongoing before it's ended (default: ` 10000 `
104
104
ms)
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ function normalizeOptions (opts) {
379
379
const normalized = Object . assign ( { } , opts , { objectMode : true } )
380
380
381
381
// default values
382
- if ( ! normalized . size && normalized . size !== 0 ) normalized . size = 1024 * 1024
382
+ if ( ! normalized . size && normalized . size !== 0 ) normalized . size = 750 * 1024
383
383
if ( ! normalized . time && normalized . time !== 0 ) normalized . time = 10000
384
384
if ( ! normalized . serverTimeout && normalized . serverTimeout !== 0 ) normalized . serverTimeout = 15000
385
385
if ( ! normalized . serverUrl ) normalized . serverUrl = 'http://localhost:8200'
You can’t perform that action at this time.
0 commit comments