Sync shared snapshot from 2e6baaa
This commit is contained in:
1 parent
5ea8551d60
commit
81b62cdc26
34 files changed
+197
-121
No files matched your search
@@ -211,9 +211,9 @@ func (s *Server) mountServiceRoutes(r chi.Router) {
|
||||
switch s.cfg.Service {
|
||||
case config.Viewer:
|
||||
s.mountViewerRoutes(r)
|
||||
case config.Tools:
|
||||
case config.CraftStudio:
|
||||
s.mountToolsRoutes(r)
|
||||
case config.Analyzer:
|
||||
case config.ContentScanner:
|
||||
s.mountAnalyzerRoutes(r)
|
||||
case config.ConfigService:
|
||||
s.mountConfigRoutes(r)
|
||||
@@ -337,7 +337,7 @@ func (s *Server) listenAndServe(ctx context.Context) error {
|
||||
|
||||
func (s *Server) Run(ctx context.Context) error {
|
||||
go s.resumeWorkflowJobs(ctx)
|
||||
if s.cfg.Service == config.Analyzer {
|
||||
if s.cfg.Service == config.ContentScanner {
|
||||
go s.runAnalyzerScheduler(ctx)
|
||||
}
|
||||
if s.cfg.Service == config.ConfigService {
|
||||
|
||||
Reference in new issue
Block a user