From 037bcc5ff72af120a04a2cf8a1eea556efd09812 Mon Sep 17 00:00:00 2001 From: aiceflower Date: Fri, 13 Dec 2024 21:44:37 +0800 Subject: [PATCH] code optimization --- .../main/scala/org/apache/linkis/entrance/EntranceServer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/EntranceServer.scala b/linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/EntranceServer.scala index f69097d23e..06afdac3b3 100644 --- a/linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/EntranceServer.scala +++ b/linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/EntranceServer.scala @@ -180,7 +180,7 @@ abstract class EntranceServer extends Logging { val priorityValue: AnyRef = properties.get(ENGINE_PRIORITY_RUNTIME_KEY) if (priorityValue != null) { val value: Int = priorityValue.toString.toInt - job.setProgress(value) + job.setPriority(value) } } }