adjust cache times

This commit is contained in:
CHIEFSOFT\ameye
2024-08-23 10:18:39 -04:00
parent 74615d33cf
commit 4a05671ae3
+3 -3
View File
@@ -24,7 +24,7 @@ class WrenchJobs extends BaseController
if ( count($out)==0 ){
$local_url = "http://".$this->micro_service_net1.":3033/completedHx";
$out = $this->APIcall('GET', $local_url, $in);
$this->saveCache($endpoint,$out,10000);
$this->saveCache($endpoint,$out,3000);
$out['internal_return'] = 0; // just backwad comaptobility
log_message('critical', "***** ***** WrenchJobs::verifyCompletedHx Cache Done:::Ret ");
}
@@ -56,7 +56,7 @@ class WrenchJobs extends BaseController
if ( count($out)==0 ){
$local_url = "http://".$this->micro_service_net1.":3033/marketjobs";
$out = $this->APIcall('GET', $local_url, $in);
$this->saveCache($endpoint,$out,15000);
$this->saveCache($endpoint,$out,3000);
$out['internal_return'] = 0; // just backwad comaptobility
log_message('critical', "***** ***** WrenchJobs::getJobsData Cache Done:::Ret ");
}
@@ -89,7 +89,7 @@ class WrenchJobs extends BaseController
$out=[];
$local_url = "http://".$this->micro_service_net1.":3033/contractHx";
$out = $this->APIcall('GET', $local_url, $in );
return $this->respond( $this->summaryReturnData($in,$out), 200);
return $this->respond( $this->summaryReturnData($in,$out), 3000);
}
public function sendJobInterest(){