aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-pushapi
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2022-03-31 15:18:54 +0200
committersonartech <sonartech@sonarsource.com>2022-04-14 20:03:30 +0000
commit441196af138862533d4c812a55c599cc9a19da5f (patch)
treed925e311fed6c50694b24bf4bbf08f87e0cd4fad /server/sonar-webserver-pushapi
parentef096f211fb7bee75b45430bbf37aadbf6fb7401 (diff)
downloadsonarqube-441196af138862533d4c812a55c599cc9a19da5f.tar.gz
sonarqube-441196af138862533d4c812a55c599cc9a19da5f.zip
SONAR-16289 reduce Sonarlint client heartbeat to 20s
Diffstat (limited to 'server/sonar-webserver-pushapi')
-rw-r--r--server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/ServerPushClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/ServerPushClient.java b/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/ServerPushClient.java
index a2004270b23..9f0c3dc78fa 100644
--- a/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/ServerPushClient.java
+++ b/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/ServerPushClient.java
@@ -33,7 +33,7 @@ import org.sonar.api.utils.log.Loggers;
public abstract class ServerPushClient {
private static final Logger LOG = Loggers.get(ServerPushClient.class);
- private static final int DEFAULT_HEARTBEAT_PERIOD = 60;
+ private static final int DEFAULT_HEARTBEAT_PERIOD = 20;
protected final AsyncContext asyncContext;