mirror of
https://codeberg.org/icewind/prometheus-mdns-rs.git
synced 2026-06-03 18:04:11 +02:00
mdns 3
This commit is contained in:
parent
bf2b144980
commit
0f48b0c391
3 changed files with 458 additions and 61 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue