Skip to content

Commit 00b6b9d

Browse files
committed
Up test
1 parent 741ef14 commit 00b6b9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controllers/status.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ module.exports = async (ctx, next) => {
137137
for (let i of limitHost) {
138138
if (!fetchData[4][i]) {
139139
// if not exist
140-
winston.verbose(`host be removed: ${i}`)
140+
winston.info(`host be removed: ${i}`)
141141
HostToDelete.push(i)
142142
} else {
143143
hosts[i] = {}
@@ -177,14 +177,14 @@ module.exports = async (ctx, next) => {
177177
memory: {
178178
totol: os.totalmem() / (1024 * 1024),
179179
free: os.freemem() / (1024 * 1024),
180-
usage: memoryUsage
180+
usage: memoryUsage / (1024 * 1024)
181181
},
182182
// cpu: os.cpus(),
183183
load: os.loadavg(),
184184
hitokto: {
185185
total: global.hitokoto.total,
186186
categroy: global.hitokoto.categroy,
187-
lastUpdate: global.hitokoto.lastUpdate
187+
lastUpdate: global.hitokoto.lastUpdated
188188
}
189189
},
190190
requests: {

0 commit comments

Comments
 (0)