summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/DefaultDeploymentConfiguration.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-10-18 11:51:00 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-10-18 12:21:44 +0300
commit780d076d81a35d640fbaedd134635e8216040d28 (patch)
tree88dae066606a13c63223d21c045ff4334f9ff4c7 /server/src/com/vaadin/DefaultDeploymentConfiguration.java
parent90ffa9404fbb458ffbd1a26930811fcea6037d97 (diff)
downloadvaadin-framework-780d076d81a35d640fbaedd134635e8216040d28.tar.gz
vaadin-framework-780d076d81a35d640fbaedd134635e8216040d28.zip
Properly read heartbeat interval servlet parameter (#9987)
* Test that servlet parameters in general are read correctly Change-Id: I4a015070e5ce03cff0fee10e037b4df2c3df8219
Diffstat (limited to 'server/src/com/vaadin/DefaultDeploymentConfiguration.java')
-rw-r--r--server/src/com/vaadin/DefaultDeploymentConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/DefaultDeploymentConfiguration.java b/server/src/com/vaadin/DefaultDeploymentConfiguration.java
index fed558c5b5..a9818f2c8b 100644
--- a/server/src/com/vaadin/DefaultDeploymentConfiguration.java
+++ b/server/src/com/vaadin/DefaultDeploymentConfiguration.java
@@ -219,7 +219,7 @@ public class DefaultDeploymentConfiguration implements DeploymentConfiguration {
try {
heartbeatInterval = Integer
.parseInt(getApplicationOrSystemProperty(
- Constants.SERVLET_PARAMETER_HEARTBEAT_RATE, "300"));
+ Constants.SERVLET_PARAMETER_HEARTBEAT_INTERVAL, "300"));
} catch (NumberFormatException e) {
getLogger().warning(
Constants.WARNING_HEARTBEAT_INTERVAL_NOT_NUMERIC);