1
This commit is contained in:
parent
92cd2b3e07
commit
ed59fce738
@ -29,6 +29,7 @@ class Fragment {
|
|||||||
const isAlloced = await this.isAlloced(conn, daySeconds, nowTime, hourSeconds);
|
const isAlloced = await this.isAlloced(conn, daySeconds, nowTime, hourSeconds);
|
||||||
if (!isAlloced) {
|
if (!isAlloced) {
|
||||||
const allocedFragments = await this.fetchAllocedFragments(conn, daySeconds, nowTime);
|
const allocedFragments = await this.fetchAllocedFragments(conn, daySeconds, nowTime);
|
||||||
|
await this.realloc(conn, daySeconds, nowTime, allowedVersions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -87,6 +88,9 @@ class Fragment {
|
|||||||
return allocedFragments;
|
return allocedFragments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments) {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user