mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-28 11:48:10 +08:00
Go: fix nats and go command (#16828)
### Summary 1. update docker compose file to start NATS healthy 2. Add two commands ``` RAGFlow(admin)> live; SUCCESS RAGFlow(admin)> health; +---------------+-------+ | field | value | +---------------+-------+ | storage | ok | | message_queue | ok | | status | ok | | db | ok | | redis | ok | | doc_engine | ok | +---------------+-------+ ``` --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -86,6 +86,10 @@ func (p *Parser) parseAdminCommand() (*Command, error) {
|
||||
return p.parseAdminLogout()
|
||||
case TokenPing:
|
||||
return p.parseAdminPingServer()
|
||||
case TokenLive:
|
||||
return p.parseAdminLiveServer()
|
||||
case TokenHealth:
|
||||
return p.parseAdminHealthServer()
|
||||
case TokenList:
|
||||
return p.parseAdminListCommands()
|
||||
case TokenShow:
|
||||
|
||||
Reference in New Issue
Block a user