Compare commits

..
11 Commits
+1 -4
View File
@@ -145,11 +145,8 @@ function clearLive() {
if (box) box.innerHTML = ''; if (box) box.innerHTML = '';
} }
// 载入各仓库最近日志作为初始上下文,避免面板一开始空白(仅启动播种一次) // 载入各仓库最近日志作为初始上下文,避免面板一开始空白
let liveSeeded = false;
async function seedLive() { async function seedLive() {
if (liveSeeded) return;
liveSeeded = true;
const names = repos.map(r => r.name); const names = repos.map(r => r.name);
await Promise.all(names.map(async (name) => { await Promise.all(names.map(async (name) => {
try { try {