From 8bea5bebab2f0301f4b475a40e6ab8ea452e90a5 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 28 Jun 2024 21:57:29 -0400 Subject: [PATCH] maybe there was clock skew ? --- .../list_session_jobs_handler.rs | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/crates/service/web/storyteller_web/src/http_server/endpoints/inference_job/list_session_jobs_handler.rs b/crates/service/web/storyteller_web/src/http_server/endpoints/inference_job/list_session_jobs_handler.rs index eaacd335e4..038437cd85 100644 --- a/crates/service/web/storyteller_web/src/http_server/endpoints/inference_job/list_session_jobs_handler.rs +++ b/crates/service/web/storyteller_web/src/http_server/endpoints/inference_job/list_session_jobs_handler.rs @@ -34,9 +34,6 @@ use crate::server_state::ServerState; /// typically do not require keepalive. const JOB_KEEPALIVE_TTL_SECONDS : usize = 60 * 3; -/// For successful jobs over an hour, don't show more than a certain number of jobs -const SUCCESSFUL_JOBS_DURATION_THRESHOLD : Duration = Duration::milliseconds(1000 * 60 * 60); - #[derive(Deserialize, ToSchema, IntoParams)] pub struct ListSessionJobsQueryParams { //pub sort_ascending: Option, @@ -284,27 +281,13 @@ fn records_to_response(records: Vec) -> Result