mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 07:10:29 +08:00
Go: add context to redis client (#17689)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -109,7 +109,8 @@ func (h *SystemHandler) GetStatus(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
status, err := h.systemService.GetStatus()
|
||||
ctx := c.Request.Context()
|
||||
status, err := h.systemService.GetStatus(ctx)
|
||||
if err != nil {
|
||||
jsonInternalError(c, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user