reduce cache perios
This commit is contained in:
@@ -80,7 +80,7 @@ class WrenchJobs extends BaseController
|
|||||||
$out = $this->APIcall('GET', $local_url, $in);
|
$out = $this->APIcall('GET', $local_url, $in);
|
||||||
// dont cache junk
|
// dont cache junk
|
||||||
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
||||||
$this->saveCache($endpoint,$out,360);
|
$this->saveCache($endpoint,$out,30);
|
||||||
}
|
}
|
||||||
$out['internal_return'] = 0; // just backwad comaptobility
|
$out['internal_return'] = 0; // just backwad comaptobility
|
||||||
log_message('critical', "***** ***** WrenchJobs::getJobsData Cache Done:::Ret ");
|
log_message('critical', "***** ***** WrenchJobs::getJobsData Cache Done:::Ret ");
|
||||||
|
|||||||
Reference in New Issue
Block a user