This commit is contained in:
Lucas Armand
2025-11-11 17:49:34 -08:00
parent a12523b1d2
commit c510801723
+1 -1
View File
@@ -53,7 +53,7 @@ def start_server(backend: Backend, routes: List[web.RouteDef], **kwargs):
try: try:
while True: while True:
metrics._model_errored(err_msg) metrics._model_errored(err_msg)
await metrics.__send_metrics_and_reset() await metrics._Metrics__send_metrics_and_reset()
await asyncio.sleep(10) await asyncio.sleep(10)
finally: finally:
await metrics.aclose() await metrics.aclose()