From b896d3f69863165b638bc70d0e10f6aaca60f5ca Mon Sep 17 00:00:00 2001 From: Bojan Kucera Date: Mon, 9 Jun 2025 18:12:41 -0400 Subject: [PATCH] changed some stuff --- apps/data-service/src/providers/proxy.provider.ts | 2 +- libs/http/src/types.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/data-service/src/providers/proxy.provider.ts b/apps/data-service/src/providers/proxy.provider.ts index 459dc64..634cb2f 100644 --- a/apps/data-service/src/providers/proxy.provider.ts +++ b/apps/data-service/src/providers/proxy.provider.ts @@ -35,7 +35,7 @@ export const proxyProvider: ProviderConfig = { const result = await batchProcessor.processItems({ items: proxies, batchSize: parseInt(process.env.PROXY_BATCH_SIZE || '200'), - totalDelayMs: parseInt(process.env.PROXY_VALIDATION_HOURS || '8') * 60 * 60 * 1000, + totalDelayMs: parseInt(process.env.PROXY_VALIDATION_HOURS || '4') * 60 * 60 * 1000 , jobNamePrefix: 'proxy', operation: 'check-proxy', service: 'proxy', diff --git a/libs/http/src/types.ts b/libs/http/src/types.ts index f768122..c7a1b83 100644 --- a/libs/http/src/types.ts +++ b/libs/http/src/types.ts @@ -2,6 +2,7 @@ export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; export interface ProxyInfo { + source?: string; protocol: 'http' | 'https' | 'socks4' | 'socks5'; host: string; port: number;