1
This commit is contained in:
parent
aed93cef4f
commit
24752d36d6
@ -33,11 +33,12 @@ class Fragment {
|
||||
}
|
||||
}
|
||||
|
||||
async fetchAllocedFragments(conn, daySeconds) {
|
||||
async fetchAllocedFragments(conn, daySeconds, nowTime) {
|
||||
const {err, rows} = await conn.execQuery(
|
||||
'SELECT * FROM t_fragment_pool WHERE alloc_time >= ? AND alloc_time <= ?',
|
||||
[
|
||||
daySeconds
|
||||
daySeconds,
|
||||
nowTime
|
||||
]
|
||||
);
|
||||
if (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user