Skip to content

Commit 5a73ef4

Browse files
authored
Fix: [AEA-4126] - use keepAlive in axios agent (#108)
1 parent 0ca26d3 commit 5a73ef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/live-spine-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export class LiveSpineClient implements SpineClient {
2424
this.httpsAgent = new Agent({
2525
cert: process.env.SpinePublicCertificate,
2626
key: process.env.SpinePrivateKey,
27-
ca: process.env.SpineCAChain
27+
ca: process.env.SpineCAChain,
28+
keepAlive: true
2829
})
2930
this.logger = logger
3031
this.axiosInstance = axios.create()

0 commit comments

Comments
 (0)