Remove cache

This commit is contained in:
CHIEFSOFT\ameye
2025-07-12 12:12:30 -04:00
parent f5d76fffa4
commit 4b937d9102
+2 -2
View File
@@ -22,12 +22,12 @@ class WrenchJobManager extends BaseController
$endpoint = "WRENCHBOARD_JOB_LISTJOBS-" . $in["client_uid"];
$out = $this->getCache($endpoint);
if (count($out) == 0) {
// if (count($out) == 0) { //suspend cache for now
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$this->saveCache($endpoint, $out, 1500);
$out['internal_return'] = $ret;
log_message('critical', "***** ***** WrenchJobManager::jobManagerList Cache Done:::Ret " . $ret);
}
//}
log_message('critical', "***** ***** WrenchJobManager::jobManagerList Ret ");
return $this->respond($this->summaryReturnData($in, $out), 200);
}