@ -12,7 +12,7 @@ from prometheus_client import (
|
|||||||
)
|
)
|
||||||
from socket import gethostname
|
from socket import gethostname
|
||||||
from time import sleep
|
from time import sleep
|
||||||
from typing import Any, override
|
from typing import Any
|
||||||
|
|
||||||
import pglock
|
import pglock
|
||||||
from django.utils.timezone import now
|
from django.utils.timezone import now
|
||||||
@ -256,6 +256,7 @@ class MetricsMiddleware(Middleware):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def after_worker_shutdown(self, broker: Broker, worker):
|
def after_worker_shutdown(self, broker: Broker, worker):
|
||||||
|
# TODO: worker_id
|
||||||
multiprocess.mark_process_dead(getpid())
|
multiprocess.mark_process_dead(getpid())
|
||||||
|
|
||||||
def _make_labels(self, message: Message) -> tuple[str, str]:
|
def _make_labels(self, message: Message) -> tuple[str, str]:
|
||||||
|
@ -167,7 +167,7 @@ export class OutpostListPage extends TablePage<Outpost> {
|
|||||||
|
|
||||||
renderExpanded(item: Outpost): TemplateResult {
|
renderExpanded(item: Outpost): TemplateResult {
|
||||||
const [appLabel, modelName] = ModelEnum.AuthentikOutpostsOutpost.split(".");
|
const [appLabel, modelName] = ModelEnum.AuthentikOutpostsOutpost.split(".");
|
||||||
return html`<td role="cell" colspan="5">
|
return html`<td role="cell" colspan="7">
|
||||||
<div class="pf-c-table__expandable-row-content">
|
<div class="pf-c-table__expandable-row-content">
|
||||||
<h3>
|
<h3>
|
||||||
${msg(
|
${msg(
|
||||||
|
Reference in New Issue
Block a user