Bound document content extraction time and decouple it from uploads (MM-69098) (#36856) (#37043)

Automatic Merge
Этот коммит содержится в:
Julien Tant
2026-06-14 23:35:26 -07:00
коммит произвёл GitHub
родитель 775c36f827
Коммит acc19baca0
19 изменённых файлов: 513 добавлений и 13 удалений

Просмотреть файл

@@ -813,6 +813,14 @@ func (s *Server) GoBuffered(f func()) {
s.platform.GoBuffered(f)
}
// GoExtraction submits f to the bounded document extraction worker pool without
// blocking the caller. It returns false if the pool is saturated and f was not
// run; skipped files stay unextracted until an admin runs a content extraction
// job (e.g. mmctl extract).
func (s *Server) GoExtraction(f func()) bool {
return s.platform.GoExtraction(f)
}
var corsAllowedMethods = []string{
"POST",
"GET",