From 66142b1dd8e83265d9cb16ceed348647f9ee48db Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 24 Nov 2023 08:26:29 +0100 Subject: [PATCH] fix: wrong fs type --- pkg/modules/libreoffice/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/modules/libreoffice/api/api.go b/pkg/modules/libreoffice/api/api.go index 8e863355..b5ac69d1 100644 --- a/pkg/modules/libreoffice/api/api.go +++ b/pkg/modules/libreoffice/api/api.go @@ -83,7 +83,7 @@ func (a *Api) Descriptor() gotenberg.ModuleDescriptor { // Deprecated flags. fs.Duration("uno-listener-start-timeout", time.Duration(10)*time.Second, "Time limit for restarting the LibreOffice") - fs.Int("uno-listener-restart-threshold", 10, "Conversions limit after which the LibreOffice listener is restarted - 0 means no restart") + fs.Int64("uno-listener-restart-threshold", 10, "Conversions limit after which the LibreOffice listener is restarted - 0 means no restart") fs.Bool("unoconv-disable-listener", false, "Do not start a long-running listener - save resources in detriment of unitary performance") var err error