Updated api cache responses time
increased api cache time response Change-Id: Ife4e0a49bca22dbee94329fd7446b6a38b264da8
This commit is contained in:
parent
481ea91170
commit
90049004b3
|
@ -29,13 +29,15 @@ class Kernel extends ConsoleKernel
|
|||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
//Current
|
||||
$schedule->command('summit:json-generator')->everyTenMinutes()->withoutOverlapping();
|
||||
$schedule->command('summit:json-generator')->everyFiveMinutes()->withoutOverlapping();
|
||||
//Austin
|
||||
$schedule->command('summit:json-generator',[6])->everyTenMinutes()->withoutOverlapping();
|
||||
$schedule->command('summit:json-generator',[6])->everyFiveMinutes()->withoutOverlapping();
|
||||
//BCN
|
||||
$schedule->command('summit:json-generator', [7])->everyTenMinutes()->withoutOverlapping();
|
||||
$schedule->command('summit:json-generator', [7])->everyFiveMinutes()->withoutOverlapping();
|
||||
//Boston
|
||||
$schedule->command('summit:json-generator', [22])->everyTenMinutes()->withoutOverlapping();
|
||||
$schedule->command('summit:json-generator', [22])->everyFiveMinutes()->withoutOverlapping();
|
||||
//Sydney
|
||||
$schedule->command('summit:json-generator', [23])->everyFiveMinutes()->withoutOverlapping();
|
||||
|
||||
// Calendar Sync Jobs
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ Route::group([
|
|||
|
||||
Route::group(array('prefix' => '{id}'), function () {
|
||||
|
||||
Route::get('', [ 'middleware' => 'cache:'.Config::get('cache_api_response.get_summit_response_lifetime', 300), 'uses' => 'OAuth2SummitApiController@getSummit'])->where('id', 'current|[0-9]+');
|
||||
Route::get('', [ 'middleware' => 'cache:'.Config::get('cache_api_response.get_summit_response_lifetime', 1200), 'uses' => 'OAuth2SummitApiController@getSummit'])->where('id', 'current|[0-9]+');
|
||||
|
||||
Route::get('entity-events', 'OAuth2SummitApiController@getSummitEntityEvents');
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue