我正在尝试使用缓存系统来减少数据库的负载。
我希望能够比较平面文件上次更新时间的时间戳,以确保该文件最近一次更新的时间不太长。
代码如下:
$cache_file = $_GET[ 'page_id' ] . '.html';
function cache() {
// Here i want to get the timestamp of the file that was previously cached,
// if it exists.
// If the file doesn't exist, create it
我试着在gcloud上运行ML培训,但是继续得到这个错误
ERROR: (gcloud.ml-engine.jobs.submit.training) RESOURCE_EXHAUSTED: Field: scale_tier Error: Insufficient accelerators are available in region US-EAST4 to schedule the job which requests 1 K80 accelerators. Please wait and try again or else try submitting your job to a di