diff options
author | metamuffin <metamuffin@disroot.org> | 2025-08-26 23:05:03 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-08-26 23:05:13 +0200 |
commit | 47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e (patch) | |
tree | 2b840aa2118c725f5ef953e312be9823cf9f53aa /server/src/network | |
parent | 34285add925cee5c3b27af7238ed52f61f376ef9 (diff) | |
download | hurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar hurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar.bz2 hurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar.zst |
server: annouce start feature, entity constructors, pause timer
Diffstat (limited to 'server/src/network')
-rw-r--r-- | server/src/network/mdns.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/network/mdns.rs b/server/src/network/mdns.rs index 018de4b3..b15a197a 100644 --- a/server/src/network/mdns.rs +++ b/server/src/network/mdns.rs @@ -34,7 +34,7 @@ pub async fn mdns_loop(name: String, listen_addr: SocketAddr, state: Arc<RwLock< } }; let mut interval = interval(Duration::from_secs(60)); - let hostname = format!("hks-{}.local.", random::<u64>()); + let hostname = format!("hurrycurry-{}.local.", random::<u64>()); // TODO use system hostname loop { interval.tick().await; if let Err(e) = update_service(&d, &state, &name, &hostname, listen_addr).await { |