commit 77bcb13bfb83debda62fc6f2a4a1a053c65a92e9 Author: Thomas Draebing Date: Wed Aug 12 15:32:22 2020 +0200 Register graceful shutdown for index changes in project command Change-Id: I4b987489ec4146253ca2a491d850de6f2dd0cd1e diff --git a/java/com/google/gerrit/sshd/commands/IndexChangesInProjectCommand.java b/java/com/google/gerrit/sshd/commands/IndexChangesInProjectCommand.java index 56b00a5..168dc19 100644 --- a/java/com/google/gerrit/sshd/commands/IndexChangesInProjectCommand.java +++ b/java/com/google/gerrit/sshd/commands/IndexChangesInProjectCommand.java @@ -43,6 +43,7 @@ final class IndexChangesInProjectCommand extends SshCommand { @Override protected void run() throws UnloggedFailure, Failure, Exception { + enableGracefulStop(); if (projects.isEmpty()) { throw die("needs at least one project as command arguments"); }