From ca3e27937eaef7059836a71f09c84c4a5a2e6c4e Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 8 Feb 2022 19:46:31 +0100 Subject: [PATCH] chore(uno): update uno-listener-restart-threshold flag description --- pkg/modules/libreoffice/uno/uno.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/modules/libreoffice/uno/uno.go b/pkg/modules/libreoffice/uno/uno.go index 22f7b932..685bc8cd 100644 --- a/pkg/modules/libreoffice/uno/uno.go +++ b/pkg/modules/libreoffice/uno/uno.go @@ -82,7 +82,7 @@ func (UNO) Descriptor() gotenberg.ModuleDescriptor { FlagSet: func() *flag.FlagSet { fs := flag.NewFlagSet("uno", flag.ExitOnError) fs.Duration("uno-listener-start-timeout", time.Duration(10)*time.Second, "Time limit for starting the LibreOffice listener") - fs.Int("uno-listener-restart-threshold", 10, "Operations limit after which the LibreOffice listener is restarted - 0 means no long-running LibreOffice listener") + fs.Int("uno-listener-restart-threshold", 10, "Conversions limit after which the LibreOffice listener is restarted - 0 means no long-running LibreOffice listener") fs.Bool("unoconv-disable-listener", false, "Do not start a long-running listener - save resources in detriment of unitary performance") err := fs.MarkDeprecated("unoconv-disable-listener", "use uno-listener-restart-threshold with 0 instead") @@ -256,7 +256,7 @@ func (mod UNO) Metrics() ([]gotenberg.Metric, error) { }, { Name: "libreoffice_listener_queue_length", - Description: "Current number of processes in the queue.", + Description: "Current number of processes in the LibreOffice listener queue.", Read: func() float64 { return float64(mod.listener.queue()) },