From 4a418486373017a3e0e8dda1705132d111bb6b92 Mon Sep 17 00:00:00 2001 From: Aaron Peddle Date: Mon, 11 Dec 2023 19:36:02 -0800 Subject: [PATCH] fix integration issue --- potassium/potassium.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/potassium/potassium.py b/potassium/potassium.py index 54cfc36..fc16e0f 100644 --- a/potassium/potassium.py +++ b/potassium/potassium.py @@ -268,8 +268,8 @@ def status(): res = make_response({ "gpu_available": cur_status.gpu_available, "sequence_number": cur_status.sequence_number, - "idle_time": cur_status.idle_time, - "inference_time": cur_status.longest_inference_time, + "idle_time": int(cur_status.idle_time*1000), + "inference_time": int(cur_status.longest_inference_time*1000), }) res.status_code = 200