Cache the api calls to vacentral and make the iata field optional

This commit is contained in:
Nabeel Shahzad
2017-12-07 17:44:05 -06:00
parent ddb8a6f5e9
commit fa4be69774
5 changed files with 16 additions and 15 deletions

View File

@@ -6,9 +6,13 @@ return [
'prefix' => env('CACHE_PREFIX', ''),
'keys' => [
'AIRPORT_VACENTRAL_LOOKUP' => [
'key' => 'airports:lookup:',
'time' => 1800,
],
'RANKS_PILOT_LIST' => [
'key' => 'ranks:pilot_list',
'time' => 1440,
'time' => 600,
]
],