* Add comments and notes.

This commit is contained in:
dingguodong
2021-10-27 10:41:03 +08:00
parent e7c337c8b5
commit 0a93db90f2
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ class ciModel extends model
*/
public function syncCompileStatus($compile)
{
# Max retry times is: 3 .
if($compile->times >= 3)
{
$this->dao->update(TABLE_COMPILE)->set('status')->eq('failure')->where('id')->eq($compile->id)->exec();