1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-13 15:58:13 +08:00

docs: 自动构建 docs

This commit is contained in:
涵曦
2024-12-13 13:21:56 +08:00
parent 8dc18ad208
commit 1e0949703f
90 changed files with 84 additions and 6385 deletions

View File

@@ -46,7 +46,7 @@ async function fetchAllIssues(repo: string, token: string): Promise<any[]> {
break; // 退出尝试循环
} catch (error) {
if (error.response && error.response.status === 503) {
console.error('服务不可用正在重试...');
console.error(`服务不可用, 正在重试...`);
attempt++;
const waitTime = Math.pow(2, attempt) * 1000; // 指数等待时间
await new Promise(resolve => setTimeout(resolve, waitTime));