Skip to content

Commit 632ad0d

Browse files
committed
refactor: use only latest config version in prod code
Concrete config versions should be use for testing or config migration tools.
1 parent 2969df3 commit 632ad0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/configuration/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub type HealthCheckApi = v2::health_check_api::HealthCheckApi;
4040
pub type HttpApi = v2::tracker_api::HttpApi;
4141
pub type HttpTracker = v2::http_tracker::HttpTracker;
4242
pub type UdpTracker = v2::udp_tracker::UdpTracker;
43+
pub type Database = v2::database::Database;
4344

4445
pub type AccessTokens = HashMap<String, String>;
4546

src/bootstrap/jobs/torrent_cleanup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::sync::Arc;
1414

1515
use chrono::Utc;
1616
use tokio::task::JoinHandle;
17-
use torrust_tracker_configuration::v2::core::Core;
17+
use torrust_tracker_configuration::Core;
1818
use tracing::info;
1919

2020
use crate::core;

0 commit comments

Comments
 (0)