From 6af07445f0007d71dae71c22f6f21d8fd68ce21d Mon Sep 17 00:00:00 2001 From: pavel Date: Fri, 27 Mar 2026 05:19:26 +0200 Subject: [PATCH] 0519 --- files/nats_registration_listener.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/nats_registration_listener.py b/files/nats_registration_listener.py index d7585a9..7581061 100644 --- a/files/nats_registration_listener.py +++ b/files/nats_registration_listener.py @@ -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,8 +97,8 @@ 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 + ] # Global counter for any NetBox-related problems