Skip to content

Commit

Permalink
fix(webui): fix status error without database
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jun 17, 2021
1 parent c1a90da commit 27717c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/plugin-webui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ template.set('status', {
output: [
'{{ bots }}',
'==========',
'活跃用户数量:{{ activeUsers }}',
'活跃群数量:{{ activeGroups }}',
'CPU 使用率:{{ (cpu[0] * 100).toFixed() }}% / {{ (cpu[1] * 100).toFixed() }}%',
'内存使用率:{{ (memory[0] * 100).toFixed() }}% / {{ (memory[1] * 100).toFixed() }}%',
].join('\n'),
Expand Down

0 comments on commit 27717c9

Please sign in to comment.