change pw, change rank UI, auto-refresh on disconnect, new loading screen
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user