wip: port queue.StartAnalyses

This commit is contained in:
Michael Hohn
2024-05-20 20:07:39 -07:00
committed by =Michael Hohn
parent cf595f338a
commit 8cd4f4d809
3 changed files with 45 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import (
"strconv"
"strings"
"mrvacommander/pkg/queue"
"mrvacommander/pkg/storage"
"github.com/gorilla/mux"
@@ -290,8 +291,7 @@ func (c *CommanderSingle) MirvaRequest(w http.ResponseWriter, r *http.Request) {
not_found_repos, analysisRepos := c.st.Storage.FindAvailableDBs(session_repositories)
// TODO into Queue
// session_start_analyses()
queue.StartAnalyses(analysisRepos, session_id, session_language)
// TODO into Commander (here)
si := SessionInfo{