Skip to content

Commit 6c498af

Browse files
committed
fix: master should set 'jifa.elastic-worker-idle-threshold' for elastic worker
1 parent 61ec0e4 commit 6c498af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/eclipse/jifa/server/service/impl/K8SWorkerScheduler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public void scheduleAsync(long identity, long requestedMemSize, BiConsumer<Strin
111111
.args(List.of(
112112
"--jifa.role=elastic-worker",
113113
"--jifa.storage-path=" + config.getStoragePath().toString(),
114-
"--jifa.port=" + config.getElasticWorkerPort()))
114+
"--jifa.port=" + config.getElasticWorkerPort(),
115+
"--jifa.elastic-worker-idle-threshold=" + config.getElasticWorkerIdleThreshold()))
115116
.addPortsItem(new V1ContainerPort().containerPort(config.getElasticWorkerPort()))
116117
.resources(resourceRequirements)
117118
.startupProbe(healthCheck);

0 commit comments

Comments
 (0)