Skip to content

Commit

Permalink
Fix: [AEA-4126] - use keepAlive in axios agent (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-nhs authored May 30, 2024
1 parent 0ca26d3 commit 5a73ef4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/live-spine-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export class LiveSpineClient implements SpineClient {
this.httpsAgent = new Agent({
cert: process.env.SpinePublicCertificate,
key: process.env.SpinePrivateKey,
ca: process.env.SpineCAChain
ca: process.env.SpineCAChain,
keepAlive: true
})
this.logger = logger
this.axiosInstance = axios.create()
Expand Down

0 comments on commit 5a73ef4

Please sign in to comment.