fix: 延长BangDream查卡模糊列表超时
This commit is contained in:
parent
aa8d4117fb
commit
3109ccbff9
@ -117,7 +117,7 @@
|
||||
"plugin.config.read",
|
||||
"plugin.storage.read"
|
||||
],
|
||||
"timeoutMs": 30000
|
||||
"timeoutMs": 120000
|
||||
},
|
||||
{
|
||||
"key": "bangdream.card.illustration",
|
||||
|
||||
@ -57,8 +57,13 @@ describe('BangDream operation manifest', () => {
|
||||
manifest.operations.map((operation) => [operation.key, operation]),
|
||||
);
|
||||
|
||||
expect(byKey.get('bangdream.song.meta')?.timeoutMs).toBeGreaterThanOrEqual(
|
||||
120000,
|
||||
);
|
||||
const heavyweightOperationKeys = [
|
||||
'bangdream.song.meta',
|
||||
'bangdream.card.search',
|
||||
];
|
||||
|
||||
for (const operationKey of heavyweightOperationKeys) {
|
||||
expect(byKey.get(operationKey)?.timeoutMs).toBeGreaterThanOrEqual(120000);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user