From e886fbcc5fdb78ec57344e537ba2060560919e0d Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 29 Jan 2024 00:02:20 +0100 Subject: [PATCH] Do not wait for thumbnails extractions when requesting infos --- transcoder/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcoder/main.go b/transcoder/main.go index 4ba02339..7705157e 100644 --- a/transcoder/main.go +++ b/transcoder/main.go @@ -208,7 +208,7 @@ func (h *Handler) GetInfo(c echo.Context) error { } // Run extractors to have them in cache h.extractor.RunExtractor(ret.Path, ret.Sha, &ret.Subtitles) - h.thumbnails.ExtractThumbnail( + go h.thumbnails.ExtractThumbnail( ret.Path, fmt.Sprintf("%s/%s/thumbnails.png", resource, slug), )