mirror of
https://github.com/telemt/telemt.git
synced 2026-05-23 20:21:44 +03:00
- Introduced adversarial tests to validate the behavior of the health monitoring system under various conditions, including the management of draining writers. - Implemented integration tests to ensure the health monitor correctly handles expired and empty draining writers. - Added regression tests to verify the functionality of the draining writers' cleanup process, ensuring it adheres to the defined thresholds and budgets. - Updated the module structure to include the new test files for better organization and maintainability.
27 lines
410 B
Rust
27 lines
410 B
Rust
//! telemt — Telegram MTProto Proxy
|
|
|
|
mod api;
|
|
mod cli;
|
|
mod config;
|
|
mod crypto;
|
|
mod error;
|
|
mod ip_tracker;
|
|
#[cfg(test)]
|
|
mod ip_tracker_regression_tests;
|
|
mod maestro;
|
|
mod metrics;
|
|
mod network;
|
|
mod protocol;
|
|
mod proxy;
|
|
mod startup;
|
|
mod stats;
|
|
mod stream;
|
|
mod tls_front;
|
|
mod transport;
|
|
mod util;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
|
maestro::run().await
|
|
}
|