{{template "base/alert" .}}
{{if lt $sum 0}}
{{if .Queue.Pausable}}
{{if .Queue.IsPaused}}
{{else}}
{{end}}
{{end}}
{{end}}
{{.locale.Tr "admin.monitor.queue" .Queue.Name}}
{{.locale.Tr "admin.monitor.queue.name"}} | {{.locale.Tr "admin.monitor.queue.type"}} | {{.locale.Tr "admin.monitor.queue.exemplar"}} | {{.locale.Tr "admin.monitor.queue.numberworkers"}} | {{.locale.Tr "admin.monitor.queue.maxnumberworkers"}} | {{.locale.Tr "admin.monitor.queue.numberinqueue"}} |
---|---|---|---|---|---|
{{.Queue.Name}} | {{.Queue.Type}} | {{.Queue.ExemplarType}} | {{$sum := .Queue.NumberOfWorkers}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}} | {{if lt $sum 0}}-{{else}}{{.Queue.MaxNumberOfWorkers}}{{end}} | {{$sum := .Queue.NumberInQueue}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}} |
{{.locale.Tr "admin.monitor.queue.nopool.title"}}
{{if eq .Queue.Type "wrapped"}}
{{else}}
{{.locale.Tr "admin.monitor.queue.wrapped.desc"}}
{{else if eq .Queue.Type "persistable-channel"}}{{.locale.Tr "admin.monitor.queue.persistable-channel.desc"}}
{{else}}{{.locale.Tr "admin.monitor.queue.nopool.desc"}}
{{end}}{{.locale.Tr "admin.monitor.queue.settings.title"}}
{{.locale.Tr "admin.monitor.queue.settings.desc"}}
{{.locale.Tr "admin.monitor.queue.pool.addworkers.title"}}
{{.locale.Tr "admin.monitor.queue.pool.addworkers.desc"}}
{{.locale.Tr "admin.monitor.queue.pool.resume.title"}}
{{.locale.Tr "admin.monitor.queue.pool.resume.desc"}}
{{.locale.Tr "admin.monitor.queue.pool.pause.title"}}
{{.locale.Tr "admin.monitor.queue.pool.pause.desc"}}
{{.locale.Tr "admin.monitor.queue.pool.flush.title"}}
{{.locale.Tr "admin.monitor.queue.pool.flush.desc"}}
{{.locale.Tr "admin.monitor.queue.pool.workers.title"}}
{{.locale.Tr "admin.monitor.queue.numberworkers"}} | {{.locale.Tr "admin.monitor.start"}} | {{.locale.Tr "admin.monitor.queue.pool.timeout"}} | |
---|---|---|---|
{{.Workers}}{{if .IsFlusher}}{{svg "octicon-sync"}}{{end}} | {{DateFmtLong .Start}} | {{if .HasTimeout}}{{DateFmtLong .Timeout}}{{else}}-{{end}} | {{svg "octicon-trash"}} |
{{.locale.Tr "admin.monitor.queue.pool.workers.none"}} |
{{.locale.Tr "admin.monitor.queue.configuration"}}
{{.Queue.Configuration | JsonPrettyPrint}}