fix: 延长BangDream查卡模糊列表超时

This commit is contained in:
sunlei 2026-06-19 12:26:41 +08:00
parent aa8d4117fb
commit 3109ccbff9
2 changed files with 9 additions and 4 deletions

View File

@ -117,7 +117,7 @@
"plugin.config.read", "plugin.config.read",
"plugin.storage.read" "plugin.storage.read"
], ],
"timeoutMs": 30000 "timeoutMs": 120000
}, },
{ {
"key": "bangdream.card.illustration", "key": "bangdream.card.illustration",

View File

@ -57,8 +57,13 @@ describe('BangDream operation manifest', () => {
manifest.operations.map((operation) => [operation.key, operation]), manifest.operations.map((operation) => [operation.key, operation]),
); );
expect(byKey.get('bangdream.song.meta')?.timeoutMs).toBeGreaterThanOrEqual( const heavyweightOperationKeys = [
120000, 'bangdream.song.meta',
); 'bangdream.card.search',
];
for (const operationKey of heavyweightOperationKeys) {
expect(byKey.get(operationKey)?.timeoutMs).toBeGreaterThanOrEqual(120000);
}
}); });
}); });