Skip to content

Commit 46c49fd

Browse files
author
高魏洪
committed
fix: code commit
1 parent ac0e0a8 commit 46c49fd

5 files changed

Lines changed: 318 additions & 451 deletions

File tree

src/subCommands/model/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const NEW_MODEL_SERVICE_CLIENT_CONNECT_TIMEOUT: number =
2-
parseInt(process.env.NEW_MODEL_SERVICE_CLIENT_CONNECT_TIMEOUT as string, 10) || 60 * 1000;
2+
parseInt(process.env.NEW_MODEL_SERVICE_CLIENT_CONNECT_TIMEOUT as string, 10) || 5 * 60 * 1000;
33
export const NEW_MODEL_SERVICE_CLIENT_READ_TIMEOUT: number =
4-
parseInt(process.env.NEW_MODEL_SERVICE_CLIENT_READ_TIMEOUT as string, 10) || 86400 * 1000;
4+
parseInt(process.env.NEW_MODEL_SERVICE_CLIENT_READ_TIMEOUT as string, 10) || 5 * 60 * 1000;
55
export const MODEL_DOWNLOAD_TIMEOUT: number =
6-
parseInt(process.env.MODEL_DOWNLOAD_TIMEOUT as string, 10) || 42 * 60 * 1000;
6+
parseInt(process.env.MODEL_DOWNLOAD_TIMEOUT as string, 10) || 40 * 60 * 1000;

0 commit comments

Comments
 (0)