finish upgrade

This commit is contained in:
Brandon Thomas committed 2026-01-17 23:18:38 -05:00
1 parent 9f3a6e4c61
commit 991b573b49
4 files changed
+5 -5

No files matched your search

@@ -39,7 +39,7 @@ use utoipa::{IntoParams, ToSchema};
/// maintained a keepalive. This prevents wasted work when users who are unlikely to return
/// navigate away. Premium users have accounts and can always return to the site, so they
/// typically do not require keepalive.
const JOB_KEEPALIVE_TTL_SECONDS : usize = 60 * 3;
const JOB_KEEPALIVE_TTL_SECONDS : u64 = 60 * 3;
#[derive(Deserialize, ToSchema, IntoParams)]
pub struct BatchGetInferenceJobStatusQueryParams {
@@ -37,7 +37,7 @@ use utoipa::ToSchema;
/// maintained a keepalive. This prevents wasted work when users who are unlikely to return
/// navigate away. Premium users have accounts and can always return to the site, so they
/// typically do not require keepalive.
const JOB_KEEPALIVE_TTL_SECONDS : usize = 60 * 3;
const JOB_KEEPALIVE_TTL_SECONDS : u64 = 60 * 3;
/// For the URL PathInfo
#[derive(Deserialize, ToSchema)]
@@ -40,7 +40,7 @@ use utoipa::{IntoParams, ToSchema};
/// maintained a keepalive. This prevents wasted work when users who are unlikely to return
/// navigate away. Premium users have accounts and can always return to the site, so they
/// typically do not require keepalive.
const JOB_KEEPALIVE_TTL_SECONDS : usize = 60 * 3;
const JOB_KEEPALIVE_TTL_SECONDS : u64 = 60 * 3;
#[derive(Debug, ToSchema)]
pub enum ListSessionJobsError {
@@ -1,6 +1,6 @@
use chrono::{DateTime, Utc};
use elasticsearch::Elasticsearch;
use r2d2_redis::{r2d2, RedisConnectionManager};
use redis::Client;
use sqlx::MySqlPool;
use actix_helpers::middleware::banned_cidr_filter::banned_cidr_set::BannedCidrSet;
@@ -75,7 +75,7 @@ pub struct ServerState {
pub elasticsearch: Elasticsearch,
pub redis_pool: r2d2::Pool<RedisConnectionManager>,
pub redis_pool: r2d2::Pool<Client>,
pub redis_ttl_cache: RedisTtlCache,
pub redis_rate_limiters: RedisRateLimiters,