chore: change default value of requestTimeout to 1min

as mentioned in #40
This commit is contained in:
Shigma 2022-10-14 20:01:33 +08:00
parent d9a7068156
commit 5b3b484990
No known key found for this signature in database
GPG Key ID: 21C89B0B92907E14
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "koishi-plugin-novelai",
"description": "Generate images by NovelAI",
"version": "1.7.4",
"version": "1.7.7",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [

View File

@ -83,7 +83,7 @@ export const Config = Schema.intersect([
allowAnlas: Schema.boolean().default(true).description('是否允许使用点数。禁用后部分功能 (图片增强和手动设置某些参数) 将无法使用。'),
basePrompt: Schema.string().description('默认的附加标签。').default('masterpiece, best quality'),
forbidden: Schema.string().role('textarea').description('违禁词列表。含有违禁词的请求将被拒绝。').default(''),
requestTimeout: Schema.number().role('time').description('当请求超过这个时间时会中止并提示超时。').default(Time.minute * 0.5),
requestTimeout: Schema.number().role('time').description('当请求超过这个时间时会中止并提示超时。').default(Time.minute),
recallTimeout: Schema.number().role('time').description('图片发送后自动撤回的时间 (设置为 0 以禁用此功能)。').default(0),
maxConcurrency: Schema.number().description('单个频道下的最大并发数量 (设置为 0 以禁用此功能)。').default(0),
}).description('功能设置'),