change pw, change rank UI, auto-refresh on disconnect, new loading screen

This commit is contained in:
peter
2020-02-25 21:31:39 +01:00
parent de76d37768
commit 96651913cd
23 changed files with 6442 additions and 2964 deletions
+8 -6
View File
@@ -74,11 +74,14 @@ implements TableDefinitionExporter, IAdmin {
}
stop(){
Promise.race([
Promise.all( this.frontworkComponents.map(c => c.stop?c.stop():undefined )),
new Promise((res, rej) => { setTimeout(res, 250);})
]).catch(e => logger.warn(e))
.finally(() => { process.exit(0) })
Promise.all([
...this.frontworkComponents.map(c => c.stop?c.stop():undefined ),
])
.catch(e => logger.warn(e))
.finally(() => {
this.rpcServer.destroy()
process.exit(0)
})
}
protected configChangeHandler = (conf:AdminConf, key?:string) => {
@@ -202,7 +205,6 @@ implements TableDefinitionExporter, IAdmin {
return await this.knex.schema.createTable(def.name, def.tableBuilder)
})
)
return this.knex
}
}