aboutsummaryrefslogtreecommitdiffstats
path: root/container-disc
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2022-01-21 09:30:42 +0100
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2022-01-21 09:30:42 +0100
commitd59648c5901d26cf9e8c472b094a4349ad7b20b2 (patch)
treea2f5a8dd8eb630bb8becc0bdab11fa1c9f986785 /container-disc
parent48188392f3f53b55e8e4a811130c66d2aeb3049d (diff)
Fix typo
Diffstat (limited to 'container-disc')
-rw-r--r--container-disc/src/main/java/com/yahoo/container/jdisc/ConfiguredApplication.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/container-disc/src/main/java/com/yahoo/container/jdisc/ConfiguredApplication.java b/container-disc/src/main/java/com/yahoo/container/jdisc/ConfiguredApplication.java
index c266489c6bc..a36c40dd4d3 100644
--- a/container-disc/src/main/java/com/yahoo/container/jdisc/ConfiguredApplication.java
+++ b/container-disc/src/main/java/com/yahoo/container/jdisc/ConfiguredApplication.java
@@ -78,7 +78,7 @@ public final class ConfiguredApplication implements Application {
private final OsgiFramework osgiFramework;
private final com.yahoo.jdisc.Timer timerSingleton;
private final AtomicBoolean dumpHeapOnShutdownTimeout = new AtomicBoolean(false);
- private final AtomicDouble shudownTimeoutS = new AtomicDouble(50.0);
+ private final AtomicDouble shutdownTimeoutS = new AtomicDouble(50.0);
// Subscriber that is used when this is not a standalone-container. Subscribes
// to config to make sure that container will be registered in slobrok (by {@link com.yahoo.jrt.slobrok.api.Register})
// if slobrok config changes (typically slobroks moving to other nodes)
@@ -245,7 +245,7 @@ public final class ConfiguredApplication implements Application {
void reconfigure(QrConfig qrConfig) {
dumpHeapOnShutdownTimeout.set(qrConfig.shutdown().dumpHeapOnTimeout());
- shudownTimeoutS.set(qrConfig.shutdown().timeout());
+ shutdownTimeoutS.set(qrConfig.shutdown().timeout());
}
private void initializeAndActivateContainer(ContainerBuilder builder) {
@@ -420,7 +420,7 @@ public final class ConfiguredApplication implements Application {
private void startShutdownDeadlineExecutor() {
shutdownDeadlineExecutor = new ScheduledThreadPoolExecutor(1, new DaemonThreadFactory("Shutdown deadline timer"));
shutdownDeadlineExecutor.setExecuteExistingDelayedTasksAfterShutdownPolicy(false);
- long delayMillis = (long)(shudownTimeoutS.get() * 1000.0);
+ long delayMillis = (long)(shutdownTimeoutS.get() * 1000.0);
shutdownDeadlineExecutor.schedule(() -> {
if (dumpHeapOnShutdownTimeout.get()) {
String heapDumpName = Defaults.getDefaults().underVespaHome("var/crash/java_pid.") + santizeFileName(configId) + "." + ProcessHandle.current().pid() + ".hprof";