fixed file checker

This commit is contained in:
2026-03-30 14:06:58 +02:00
parent e444a9b7ff
commit 856ea529a7
5 changed files with 78 additions and 6 deletions
+1 -2
View File
@@ -60,6 +60,7 @@ func NewServer() (*Server, error) {
var err error
srv := &Server{}
srv.logg = logger.NewLoggerWithSubject("server")
srv.ctx, srv.cancel = context.WithCancel(context.Background())
return srv, err
}
@@ -425,9 +426,7 @@ func (srv *Server) Run() error {
}
srv.logg.Infof("Server run with user: %s", usr.Username)
srv.ctx, srv.cancel = context.WithCancel(context.Background())
svcDone := make(chan error, 1)
// Service run
srv.logg.Infof("Start service")
startService := func(svc *service.Service, done chan error) {