Skip to content

Commit

Permalink
【Enhancement】编译加速刷存量已停用项目的加速方案为停用 #260
Browse files Browse the repository at this point in the history
  • Loading branch information
eazence committed Jul 9, 2024
1 parent 92589dc commit c14191c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ class TurboPlanService @Autowired constructor(

/**
* 同步加速方案信息至后端编译加速服务
*
* @param openStatus true:停用; false:启用
*/
private fun updateTbsProjectInfo(
user: String,
Expand Down Expand Up @@ -689,7 +691,7 @@ class TurboPlanService @Autowired constructor(
user = userId,
engineCode = it.engineCode,
planId = it.id!!,
openStatus = enabled,
openStatus = !enabled,
planName = null
)
} catch (e: TurboException) {
Expand Down

0 comments on commit c14191c

Please sign in to comment.