Merged in jmathison/v2-upload-batch (pull request #224)
Implement v2 upload batch cleanup * Implement v2 upload batch cleanup * Merge remote-tracking branch 'origin/main' into jmathison/v2-upload-batch * Address upload batch review feedback * Raise batch worker coverage * Fix batch cleanup review issues Approved-by: Jay Brown
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"os"
|
||||
|
||||
doccleanrunner "queryorchestration/api/docCleanRunner"
|
||||
"queryorchestration/internal/document/batch/foldercleanup"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentclean "queryorchestration/internal/document/clean"
|
||||
"queryorchestration/internal/server/runner"
|
||||
@@ -42,6 +43,7 @@ func main() {
|
||||
return doccleanrunner.New(&doccleanrunner.Services{
|
||||
Clean: clean,
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
Cleanup: foldercleanup.New(cfg),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ import (
|
||||
"os"
|
||||
|
||||
docinitrunner "queryorchestration/api/docInitRunner"
|
||||
"queryorchestration/internal/document/batch/foldercleanup"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentinit "queryorchestration/internal/document/init"
|
||||
"queryorchestration/internal/server/runner"
|
||||
@@ -52,6 +53,7 @@ func main() {
|
||||
Document: docinit,
|
||||
Queries: cfg.GetDBQueries(),
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
Cleanup: foldercleanup.New(cfg),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ import (
|
||||
docsyncrunner "queryorchestration/api/docSyncRunner"
|
||||
"queryorchestration/internal/client"
|
||||
"queryorchestration/internal/document"
|
||||
"queryorchestration/internal/document/batch/foldercleanup"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentsync "queryorchestration/internal/document/sync"
|
||||
"queryorchestration/internal/server/runner"
|
||||
@@ -50,6 +51,7 @@ func main() {
|
||||
return docsyncrunner.New(&docsyncrunner.Services{
|
||||
Document: docsync,
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
Cleanup: foldercleanup.New(cfg),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user