refactor(proposal): put DB access behind a mockable ProposalStore trait

This commit is contained in:
CleverWild
2026-08-27 17:58:26 +02:00
parent fa2df36fbe
commit d8dd17ee92
6 changed files with 840 additions and 370 deletions

View File

@@ -26,7 +26,6 @@ use arbiter_server::db::schema::{
};
use diesel::{ExpressionMethods, QueryDsl, insert_into};
use diesel_async::RunQueryDsl;
use std::future::Future;
/// Retries `probe` until it yields a value, then returns it.
///