Enable fast METAR refresh for Lagos

This commit is contained in:
2569718930@qq.com
2026-04-19 01:55:42 +08:00
parent f521cb537e
commit 80072e3a7f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -769,6 +769,7 @@ CITY_REGISTRY = {
"tz_offset": 3600,
"use_fahrenheit": False,
"is_major": True,
"fast_metar_refresh": True,
"risk_level": "medium",
"risk_emoji": "🟡",
"airport_name": "穆尔塔拉·穆罕默德国际机场",
+1
View File
@@ -31,6 +31,7 @@ def test_turkey_metar_uses_fast_cache_ttl():
assert source._metar_cache_ttl_for_city("ankara", "LTAC") == 60
assert source._metar_cache_ttl_for_city("istanbul", "LTFM") == 60
assert source._metar_cache_ttl_for_city("lagos", "DNMM") == 60
assert source._metar_cache_ttl_for_city("karachi", "OPKC") == 600