This commit is contained in:
aozhiwei 2022-09-21 16:21:10 +08:00
parent 92cd2b3e07
commit ed59fce738

View File

@ -29,6 +29,7 @@ class Fragment {
const isAlloced = await this.isAlloced(conn, daySeconds, nowTime, hourSeconds);
if (!isAlloced) {
const allocedFragments = await this.fetchAllocedFragments(conn, daySeconds, nowTime);
await this.realloc(conn, daySeconds, nowTime, allowedVersions);
}
}
} catch (err) {
@ -87,6 +88,9 @@ class Fragment {
return allocedFragments;
}
async realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments) {
}
}
function init() {