1
0
Fork 0
mirror of https://codeberg.org/icewind/prometheus-mdns-rs.git synced 2026-06-03 18:04:11 +02:00
This commit is contained in:
Robin Appelman 2021-12-12 21:33:42 +01:00
commit 0f48b0c391
3 changed files with 458 additions and 61 deletions

View file

@ -34,9 +34,9 @@ impl<'a> From<&'a Service> for PrometheusService<'a> {
}
const TIMEOUT: Duration = Duration::from_secs(360);
const INTERVAL: Duration = Duration::from_secs(120);
const INTERVAL: Duration = Duration::from_secs(15);
#[tokio::main]
#[async_std::main]
async fn main() -> Result<(), main_error::MainError> {
let out = env::args()
.nth(1)