Skip to content

Commit 0334df7

Browse files
authored
Prevent socket hangup error by removing the aggressive clickhouse keep alive ttl env var default (#2082)
1 parent e08e493 commit 0334df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/env.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ const EnvironmentSchema = z.object({
770770
RUN_REPLICATION_LEADER_LOCK_RETRY_INTERVAL_MS: z.coerce.number().int().default(500),
771771
RUN_REPLICATION_WAIT_FOR_ASYNC_INSERT: z.string().default("0"),
772772
RUN_REPLICATION_KEEP_ALIVE_ENABLED: z.string().default("1"),
773-
RUN_REPLICATION_KEEP_ALIVE_IDLE_SOCKET_TTL_MS: z.coerce.number().int().default(9_000),
773+
RUN_REPLICATION_KEEP_ALIVE_IDLE_SOCKET_TTL_MS: z.coerce.number().int().optional(),
774774
RUN_REPLICATION_MAX_OPEN_CONNECTIONS: z.coerce.number().int().default(10),
775775
});
776776

0 commit comments

Comments
 (0)