commit 257199a2d19aea0d9e24bd53a59125951b85a2a4 Author: Thomas Draebing Date: Wed Aug 12 15:31:30 2020 +0200 Register graceful shutdown for index changes command Change-Id: Ifce8627912878e989c36f765ce5b5847e87d48ac diff --git a/java/com/google/gerrit/sshd/commands/IndexChangesCommand.java b/java/com/google/gerrit/sshd/commands/IndexChangesCommand.java index 5aa2ec8..376b837 100644 --- a/java/com/google/gerrit/sshd/commands/IndexChangesCommand.java +++ b/java/com/google/gerrit/sshd/commands/IndexChangesCommand.java @@ -53,6 +53,7 @@ final class IndexChangesCommand extends SshCommand { @Override protected void run() throws UnloggedFailure { + enableGracefulStop(); boolean ok = true; for (ChangeResource rsrc : changes.values()) { try {