remove warnings

This commit is contained in:
Ruben Fiszel
2025-07-26 13:28:51 +00:00
parent ad441a7ba6
commit 323ec9a994
5 changed files with 5 additions and 26 deletions

View File

@@ -21,7 +21,7 @@ use serde::Deserialize;
use serde::{ser::SerializeMap, Serialize};
use serde_json::{json, value::RawValue};
use sqlx::PgExecutor;
use sqlx::{types::Json, FromRow, Pool, Postgres, Transaction};
use sqlx::{types::Json, Pool, Postgres, Transaction};
use tokio::{sync::RwLock, time::sleep};
use ulid::Ulid;
use uuid::Uuid;
@@ -1543,12 +1543,6 @@ pub async fn handle_maybe_scheduled_job<'c>(
}
}
#[derive(Clone, Serialize, FromRow)]
struct CompletedJobSubset {
success: bool,
result: Option<sqlx::types::Json<Box<RawValue>>>,
started_at: chrono::DateTime<chrono::Utc>,
}
#[cfg(feature = "enterprise")]
async fn apply_schedule_handlers<'a, 'c, T: Serialize + Send + Sync>(