Browse Source

increase get_bases cache expiry

raylu 1 week ago
parent
commit
17f53c4acc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      planet_bases.py

+ 1 - 1
planet_bases.py

@@ -64,7 +64,7 @@ def get_sectors() -> tuple[typing.Mapping[str, typing.Collection[str]], typing.M
 	return sector_ids, sector_systems
 
 def get_bases(planet: str) -> typing.Sequence[Site]:
-	return cache.get('https://rest.fnar.net/planet/sites/' + planet)
+	return cache.get('https://rest.fnar.net/planet/sites/' + planet, expiry=cache.ONE_DAY)
 
 class System(typing.TypedDict):
 	SystemId: str