renovate/lib/util/http/keepalive.ts
2022-09-02 12:32:34 +02:00

12 lines
230 B
TypeScript

import Agent, { HttpsAgent } from 'agentkeepalive';
import type { Agents } from 'got';
const http = new Agent();
const https = new HttpsAgent();
const keepaliveAgents: Agents = {
http,
https,
};
export { keepaliveAgents };