|
...
|
...
|
@@ -69,7 +69,7 @@ class UpdateProgress extends Command |
|
|
|
if(!empty($info)){
|
|
|
|
$info = (array)$info;
|
|
|
|
//超时时间
|
|
|
|
$time = date("Y-m-d H:i:s",strtotime($info['created_at']) + $info['total_num'] * 60);
|
|
|
|
$time = date("Y-m-d H:i:s",strtotime($info['created_at']) + $info['total_num'] * 30);
|
|
|
|
if($time > date("Y-m-d H:i:s")){
|
|
|
|
DB::connection('custom_mysql')->table('gl_update_progress')->where('id',$info['id'])->update(['current_num'=>$info['total_num']]);
|
|
|
|
//获取当前项目的用户
|
...
|
...
|
|