fix-2
All checks were successful
release-tag / release-image (push) Successful in 1m26s

This commit is contained in:
2025-09-30 00:34:24 +02:00
parent b3c1f37632
commit 42b0493adb
2 changed files with 16 additions and 12 deletions

View File

@@ -59,6 +59,8 @@ func loadConfig() AppConfig {
m.HelloInterval = parseDuration(os.Getenv("MESH_HELLO_INTERVAL"), 20*time.Second)
m.HelloFanout = parseIntEnv(os.Getenv("MESH_HELLO_FANOUT"), 8)
m.BlobTimeout = parseDuration(os.Getenv("MESH_BLOB_TIMEOUT"), 0)
// Wenn keine AdvertURL gesetzt ist, versuche eine sinnvolle Herleitung:
if strings.TrimSpace(m.AdvertURL) == "" {
m.AdvertURL = inferAdvertURL(m.BindAddr)