From 6a3f169a4770db61b5826b2d56e6027d0eac94f2 Mon Sep 17 00:00:00 2001 From: zhzy0077 Date: Mon, 21 Aug 2023 11:55:20 +0800 Subject: [PATCH] fix typo. --- cmd/serve.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/serve.go b/cmd/serve.go index ef56f97b..ac946e9c 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -190,7 +190,7 @@ func execServe(c *cli.Context) error { metricsListenHTTP := c.String("metrics-listen-http") enableMetrics := c.Bool("enable-metrics") || metricsListenHTTP != "" profileListenHTTP := c.String("profile-listen-http") - messasgeLimit := c.Int("message-limit") + messageLimit := c.Int("message-limit") // Check values if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) { @@ -366,7 +366,7 @@ func execServe(c *cli.Context) error { conf.WebPushFile = webPushFile conf.WebPushEmailAddress = webPushEmailAddress conf.WebPushStartupQueries = webPushStartupQueries - conf.MessageLimit = messasgeLimit + conf.MessageLimit = messageLimit // Set up hot-reloading of config go sigHandlerConfigReload(config)