mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
move errorsLog to health
This commit is contained in:
parent
95c6dc23c6
commit
ee9e27ecad
@ -7,8 +7,7 @@ const { readRelayerErrors } = require('../utils')
|
||||
async function status(req, res) {
|
||||
const ethPrices = await redis.hgetall('prices')
|
||||
const health = await redis.hgetall('health')
|
||||
const errors = await readRelayerErrors(redis)
|
||||
|
||||
health.errorsLog = await readRelayerErrors(redis)
|
||||
const { waiting: currentQueue } = await queue.queue.getJobCounts()
|
||||
|
||||
res.json({
|
||||
@ -20,7 +19,6 @@ async function status(req, res) {
|
||||
miningServiceFee,
|
||||
version,
|
||||
health,
|
||||
errors,
|
||||
currentQueue,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user