ordhook icon indicating copy to clipboard operation
ordhook copied to clipboard

Handle graceful shutdown

Open zone117x opened this issue 1 year ago • 1 comments

Chainhook is ignoring SIGTERM signals and requires forced shutdown.

With fast nakamoto blocks, this is very likely to cause de-syncs with the stacks-node because in-process event ingestion is force killed before event http POST can be responded to, and before sqlite/rocksdb/redis data can be flushed.

zone117x avatar Nov 12 '24 15:11 zone117x

Although this is no longer relevant for Stacks, we should do it for Bitcoin's zeromq interface

rafaelcr avatar Feb 07 '25 20:02 rafaelcr