diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 4e30cf08f6..81ec866a1f 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2056,7 +2056,7 @@ monitor.queue.settings.numberworkers.error = Number of Workers to add must be gr monitor.queue.settings.maxnumberworkers = Max Number of workers monitor.queue.settings.maxnumberworkers.placeholder = Currently %[1]d monitor.queue.settings.maxnumberworkers.error = Max number of workers must be a number -monitor.queue.settings.submit = Change Settings +monitor.queue.settings.submit = Update Settings monitor.queue.settings.changed = Settings Updated monitor.queue.settings.blocktimeout = Current Block Timeout monitor.queue.settings.blocktimeout.value = %[1]v @@ -2069,7 +2069,7 @@ monitor.queue.pool.workers.none = No worker groups. monitor.queue.pool.cancel = Shutdown Worker Group monitor.queue.pool.cancelling = Worker Group shutting down monitor.queue.pool.cancel_notices = Shutdown this group of %s workers? -monitor.queue.pool.cancel_desc = Leaving a queue without any worker groups may cause requests may block indefinitely. +monitor.queue.pool.cancel_desc = Leaving a queue without any worker groups may cause requests to block indefinitely. notices.system_notice_list = System Notices notices.view_detail_header = View Notice Details diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 5e8e0b7467..055b8f5a5e 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -432,7 +432,7 @@ func AddWorkers(ctx *context.Context) { ctx.Redirect(setting.AppSubURL + fmt.Sprintf("/admin/monitor/queue/%d", qid)) } -// SetQueueSettings sets the maximum number of workers for this queue +// SetQueueSettings sets the maximum number of workers and other settings for this queue func SetQueueSettings(ctx *context.Context) { qid := ctx.ParamsInt64("qid") mq := queue.GetManager().GetManagedQueue(qid)