diff options
Diffstat (limited to 'makima/src/db')
| -rw-r--r-- | makima/src/db/models.rs | 1 | ||||
| -rw-r--r-- | makima/src/db/repository.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs index c03b4ac..121897d 100644 --- a/makima/src/db/models.rs +++ b/makima/src/db/models.rs @@ -7,6 +7,7 @@ use utoipa::ToSchema; use uuid::Uuid; /// Default max retries for task daemon failover (3 attempts) +#[allow(dead_code)] fn default_max_retries() -> i32 { 3 } diff --git a/makima/src/db/repository.rs b/makima/src/db/repository.rs index 401da94..10633d5 100644 --- a/makima/src/db/repository.rs +++ b/makima/src/db/repository.rs @@ -4912,6 +4912,7 @@ pub async fn sync_supervisor_state( // ============================================================================= /// Helper to truncate string to max length +#[allow(dead_code)] fn truncate_string(s: &str, max_len: usize) -> String { if s.len() <= max_len { s.to_string() |
