show loading status
This commit is contained in:
parent
44b5a6a67f
commit
d913872e76
3 changed files with 8 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ func StaticHandler(rw http.ResponseWriter, req *http.Request) {
|
|||
|
||||
func StatusHandler(rw http.ResponseWriter, req *http.Request) {
|
||||
writeJSON(rw, map[string]interface{}{
|
||||
"running": *handler(req).queueSize > 0,
|
||||
"running": *handler(req).queueSize,
|
||||
"stats": db(req).FeedStats(),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue