Skip to content

Commit 70d2755

Browse files
fix: added comments
Signed-off-by: Matt Peterson <matt.peterson@swirldslabs.com>
1 parent 956c56c commit 70d2755

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/src/main/java/com/hedera/block/server/ServiceStatusImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ public void setWebServer(final WebServer webServer) {
6363
* server in the event of an unrecoverable exception or during expected maintenance.
6464
*/
6565
public void stopWebServer() {
66+
67+
// Flag the service to stop
68+
// accepting new connections
6669
isRunning.set(false);
70+
71+
// Stop the web server
6772
webServer.stop();
6873
}
6974
}

0 commit comments

Comments
 (0)