removed some readmes, user count in p2p info

This commit is contained in:
mrfry 2023-04-04 16:50:03 +02:00
parent 78ea415bb0
commit cbc536483c
4 changed files with 2 additions and 238 deletions

View file

@ -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