This commit is contained in:
2026-03-27 05:19:26 +02:00
parent 4e23aa5e8d
commit 6af07445f0

View File

@@ -43,7 +43,7 @@ NB_TOKEN = "7648e4f5ee370cda7834682e61b47c2ee8e95623" # keep as provided
NB_TIMEOUT = 6.0 # seconds per HTTP GET
# Cache for MAC -> NetBox lookup result (seconds). Keeps NetBox load down under chatty devices.
NB_LOOKUP_CACHE_TTL = float(os.environ.get("NB_LOOKUP_CACHE_TTL", "60.0"))
NB_LOOKUP_CACHE_TTL = float(os.environ.get("NB_LOOKUP_CACHE_TTL", "120.0"))
NB_LOOKUP_CACHE = {} # mac_norm -> (expires_monotonic, cached_tuple)
# =========================
@@ -97,7 +97,7 @@ IGNORE_MACS_RAW = [
"D0:6C:37:00:BD:B0",
"C4:93:00:4E:97:B0",
#"D0:6C:37:00:A9:68", #### 97227
"D0:6C:37:00:B0:1C", #### 101200
]