mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-07 15:08:34 -05:00
Small changes as per @guillep2k
This commit is contained in:
parent
1cb7a86e37
commit
e4ddaab70b
2 changed files with 3 additions and 3 deletions
|
@ -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 = Max Number of workers
|
||||||
monitor.queue.settings.maxnumberworkers.placeholder = Currently %[1]d
|
monitor.queue.settings.maxnumberworkers.placeholder = Currently %[1]d
|
||||||
monitor.queue.settings.maxnumberworkers.error = Max number of workers must be a number
|
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.changed = Settings Updated
|
||||||
monitor.queue.settings.blocktimeout = Current Block Timeout
|
monitor.queue.settings.blocktimeout = Current Block Timeout
|
||||||
monitor.queue.settings.blocktimeout.value = %[1]v
|
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.cancel = Shutdown Worker Group
|
||||||
monitor.queue.pool.cancelling = Worker Group shutting down
|
monitor.queue.pool.cancelling = Worker Group shutting down
|
||||||
monitor.queue.pool.cancel_notices = Shutdown this group of %s workers?
|
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.system_notice_list = System Notices
|
||||||
notices.view_detail_header = View Notice Details
|
notices.view_detail_header = View Notice Details
|
||||||
|
|
|
@ -432,7 +432,7 @@ func AddWorkers(ctx *context.Context) {
|
||||||
ctx.Redirect(setting.AppSubURL + fmt.Sprintf("/admin/monitor/queue/%d", qid))
|
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) {
|
func SetQueueSettings(ctx *context.Context) {
|
||||||
qid := ctx.ParamsInt64("qid")
|
qid := ctx.ParamsInt64("qid")
|
||||||
mq := queue.GetManager().GetManagedQueue(qid)
|
mq := queue.GetManager().GetManagedQueue(qid)
|
||||||
|
|
Loading…
Reference in a new issue