openstackid-resources/config/cache_regions.php
Sebastian Marcet bb20ca1388 Query Cache
Added caching to some recurrent queries
* get current active summmit
* get api endpoint scopes

Change-Id: I6f5a9618581bcf29218c60390b48150e91be34fc
2016-11-15 23:54:46 -03:00

17 lines
694 B
PHP

<?php
/**
* Copyright 2016 OpenStack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
return [
'region_api_scopes_lifetime' => env('CACHE_REGION_API_SCOPES_LIFETIME', 1140),
];