mirror of
https://github.com/telemt/telemt.git
synced 2026-05-23 04:01:44 +03:00
API Pool Status pull-up
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -1168,6 +1168,7 @@ async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
|||||||
if listen.port() != 0 {
|
if listen.port() != 0 {
|
||||||
let stats = stats.clone();
|
let stats = stats.clone();
|
||||||
let ip_tracker_api = ip_tracker.clone();
|
let ip_tracker_api = ip_tracker.clone();
|
||||||
|
let me_pool_api = me_pool.clone();
|
||||||
let config_rx_api = config_rx.clone();
|
let config_rx_api = config_rx.clone();
|
||||||
let config_path_api = std::path::PathBuf::from(&config_path);
|
let config_path_api = std::path::PathBuf::from(&config_path);
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
@@ -1175,6 +1176,7 @@ async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
|||||||
listen,
|
listen,
|
||||||
stats,
|
stats,
|
||||||
ip_tracker_api,
|
ip_tracker_api,
|
||||||
|
me_pool_api,
|
||||||
config_rx_api,
|
config_rx_api,
|
||||||
config_path_api,
|
config_path_api,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user