]> source.dussan.org Git - sonarqube.git/commit
SONAR-12043 move hard stop timeout out of SQProcess#hardstop arguments
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 3 May 2019 09:21:24 +0000 (11:21 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 3 Jun 2019 18:21:20 +0000 (20:21 +0200)
commit16859cefcd463d5c9d3a6c9f3b46533dbcf0854b
tree641916e8e8df90a0163854d2840557782959059d
parent7b4126289f62604c1b59552ce78a8f9bcacd8dde
SONAR-12043 move hard stop timeout out of SQProcess#hardstop arguments

timeout is instead configured as state of SQProcess instance
this will allow calling hardStop with the right timeout from another method of SQProcess (the incoming stop() method)
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
server/sonar-main/src/main/java/org/sonar/application/process/SQProcess.java
server/sonar-main/src/test/java/org/sonar/application/process/SQProcessTest.java