This commit is contained in:
aozhiwei 2022-09-21 21:25:23 +08:00
parent 84c840ff81
commit 389a295e74

View File

@ -41,7 +41,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, hourSeconds, nowTime, allocedFragments);
await this.realloc(conn, daySeconds, nowTime, hourSeconds, allocedFragments);
}
}
} catch (err) {
@ -176,7 +176,7 @@ class Fragment {
['fragment_type', this.getFragementType(element['type'])],
['fragment_num', element['item_num']],
['alloc_num', element['item_num']],
['alloc_time', hourSeconds],
['alloc_time', daySeconds + hourSeconds],
['createtime', nowTime],
['modifytime', nowTime],
]