Yii::error(json_encode($log->getErrors(), JSON_UNESCAPED_UNICODE));
LogService::apiErrorLog(json_encode(["error_id" => 8, "error" => $log->getErrors()], JSON_UNESCAPED_UNICODE));
}
-
+ $cache->delete($cacheKey);
$service = new AutoPlannogrammaService();
$year = (int)$task['year'];
$month = (int)$task['month'];
return $this->asJson(['status' => 'not_found']);
}
}
- Yii::$app->cache->delete('apRecalculateTask');
+ // Yii::$app->cache->delete('apRecalculateTask');
return $this->asJson([
'status' => $task['status'],
'progress' => $task['progress'] ?? 0,