mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix default value for keepAliveMsecs, to be iso-functional with elastic-transport-js (#141234)
This commit is contained in:
parent
0b38c410dd
commit
1186e35dbb
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ describe('AgentManager', () => {
|
|||
expect(HttpAgent).toBeCalledTimes(1);
|
||||
expect(HttpAgent).toBeCalledWith({
|
||||
keepAlive: true,
|
||||
keepAliveMsecs: 50000,
|
||||
keepAliveMsecs: 1000,
|
||||
maxFreeSockets: 256,
|
||||
maxSockets: 256,
|
||||
scheduling: 'lifo',
|
||||
|
@ -68,7 +68,7 @@ describe('AgentManager', () => {
|
|||
expect(HttpAgent).toBeCalledTimes(1);
|
||||
expect(HttpAgent).toBeCalledWith({
|
||||
keepAlive: true,
|
||||
keepAliveMsecs: 50000,
|
||||
keepAliveMsecs: 1000,
|
||||
maxFreeSockets: 32,
|
||||
maxSockets: 1024,
|
||||
scheduling: 'fifo',
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ConnectionOptions, HttpAgentOptions } from '@elastic/elasticsearch';
|
|||
const HTTPS = 'https:';
|
||||
const DEFAULT_CONFIG: HttpAgentOptions = {
|
||||
keepAlive: true,
|
||||
keepAliveMsecs: 50000,
|
||||
keepAliveMsecs: 1000,
|
||||
maxSockets: 256,
|
||||
maxFreeSockets: 256,
|
||||
scheduling: 'lifo',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue