|
|
@@ -98,18 +98,19 @@ export class LpMaintenance {
|
|
|
if (this.maxMemoryChanged) {
|
|
|
this.showMemory('a loop...')
|
|
|
}
|
|
|
+ this.showMemory('a loop...')
|
|
|
this.maxMemoryChanged = false
|
|
|
|
|
|
- const topLpPullRst = await history.findByHashOrBlockOrDataVague('topLp', '', '', 0, 20000)
|
|
|
+ const topLpPullRst = await history.findByBlock('topLp')
|
|
|
if (!topLpPullRst.state) continue
|
|
|
const topLpList = topLpPullRst.data
|
|
|
- const lpPullRst = await history.findByHashOrBlockOrDataVague('lp', '', '', 0, 100000)
|
|
|
+ const lpPullRst = await history.findByBlock('lp')
|
|
|
if (!lpPullRst.state) continue
|
|
|
const lpList = lpPullRst.data
|
|
|
- const normalLpPullRst = await history.findByHashOrBlockOrDataVague('normalLp', '', '', 0, 20000)
|
|
|
+ const normalLpPullRst = await history.findByBlock('normalLp')
|
|
|
if (!normalLpPullRst.state) continue
|
|
|
const normalLpList = normalLpPullRst.data
|
|
|
- const zeroLpPullRst = await history.findByHashOrBlockOrDataVague('0', '', '', 0, 150000)
|
|
|
+ const zeroLpPullRst = await history.findByBlock('0')
|
|
|
if (!zeroLpPullRst.state) continue
|
|
|
const zeroLpList = zeroLpPullRst.data
|
|
|
|