tmkms icon indicating copy to clipboard operation
tmkms copied to clipboard

Hot config reloads

Open jleni opened this issue 6 years ago • 2 comments

It would nice to have something similar to tmkms refresh to reload changes in the configuration file without having to restart the complete KMS.

Yeah, we should definitely support hot config reloads. Feel free to open an issue.

Originally posted by @tarcieri in https://github.com/tendermint/kms/issues/177#issuecomment-465650676

jleni avatar Feb 25 '19 09:02 jleni

how about tmkms reload

liangping avatar May 28 '19 01:05 liangping

Abscissa 0.1 (unreleased) now contains the prerequisites for hot config reloads, including a signal-hook based signal handler which processes all signals by obtaining an exclusive mutable reference to the application state.

KMS doesn't use it yet: I'm trying to keep the initial Abscissa upgrade as light touch as possible. But after KMS v0.6 is released, we should be able to switch to it and handle config reloads via e.g. SIGHUP.

After that, we could potentially add friendlier ways to send that SIGHUP like @liangping's suggested tmkms reload.

tarcieri avatar Jun 18 '19 02:06 tarcieri