Skip to content

Commit

Permalink
设置重试次数为3
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinlic committed Apr 12, 2024
1 parent c4e21b9 commit b124d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/controllers/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import util from "@/lib/util.ts";
// 模型名称
const MODEL_NAME = "detail";
// 最大重试次数
const MAX_RETRY_COUNT = 0;
const MAX_RETRY_COUNT = 3;
// 重试延迟
const RETRY_DELAY = 5000;
// 伪装headers
Expand Down

0 comments on commit b124d5f

Please sign in to comment.