Skip to content

Commit

Permalink
refactor: use only latest config version in prod code
Browse files Browse the repository at this point in the history
Concrete config versions should be use for testing or config migration tools.
  • Loading branch information
josecelano committed Jul 1, 2024
1 parent 2969df3 commit 632ad0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/configuration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub type HealthCheckApi = v2::health_check_api::HealthCheckApi;
pub type HttpApi = v2::tracker_api::HttpApi;
pub type HttpTracker = v2::http_tracker::HttpTracker;
pub type UdpTracker = v2::udp_tracker::UdpTracker;
pub type Database = v2::database::Database;

pub type AccessTokens = HashMap<String, String>;

Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/jobs/torrent_cleanup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::sync::Arc;

use chrono::Utc;
use tokio::task::JoinHandle;
use torrust_tracker_configuration::v2::core::Core;
use torrust_tracker_configuration::Core;
use tracing::info;

use crate::core;
Expand Down

0 comments on commit 632ad0d

Please sign in to comment.