mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
removed some readmes, user count in p2p info
This commit is contained in:
parent
78ea415bb0
commit
cbc536483c
4 changed files with 2 additions and 238 deletions
|
@ -79,6 +79,7 @@ interface RemotePeerInfo {
|
|||
qminingPageBuildTime?: number
|
||||
dataEditorBuildTime?: number
|
||||
scriptVersion?: string
|
||||
userCount?: number
|
||||
qdbInfo?: {
|
||||
questionDbCount: number
|
||||
subjectCount: number
|
||||
|
@ -475,6 +476,7 @@ function setup(data: SubmoduleData): Submodule {
|
|||
.statFile(paths.dataEditorIndexPath)
|
||||
?.mtime.getTime()
|
||||
result.scriptVersion = utils.getScriptVersion()
|
||||
result.userCount = dbtools.TableInfo(userDB, 'users').dataCount
|
||||
|
||||
if (includeQdbInfo) {
|
||||
const questionDbCount = getQuestionDbs().length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue