mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-22 07:31:05 +08:00
Go: refactor (#17072)
Refactor stats --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@ func newEEServer() *EEServer {
|
||||
return &EEServer{}
|
||||
}
|
||||
|
||||
func StartServer(ctx context.Context, serverName string) error {
|
||||
func StartServer(ctx context.Context, cancel context.CancelFunc, serverName string) error {
|
||||
if serverEE == nil {
|
||||
return errors.New("server EE is nil")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user