Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2dd4a46ad6 | ||
|
|
7138f65272 |
+4
-1
@@ -145,8 +145,11 @@ 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user