Skip to content

Commit

Permalink
fix: 修复更新配置导致任务报错的问题 TencentBlueKing#2014
Browse files Browse the repository at this point in the history
  • Loading branch information
felixncheng authored Apr 12, 2024
1 parent cda1c19 commit 5041479
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class ScheduledTaskConfigurer(
private val logger = LoggerFactory.getLogger(ScheduledTaskConfigurer::class.java)

fun cleanScheduledTask() {
scheduledTaskSet.forEach { it.cancel() }
scheduledTaskSet.forEach { it.cancel(false) }
scheduledTaskSet.clear()
logger.info("Clean scheduled task")
}
Expand Down

0 comments on commit 5041479

Please sign in to comment.