txpipe / dolos

Cardano Data Node
https://dolos.txpipe.io
Apache License 2.0
65 stars 18 forks source link

Implement sigint handling for the daemon #215

Closed alekswithakayy closed 3 months ago

alekswithakayy commented 4 months ago

Attempt to gracefully shutdown the dolos server and close the ledger on sigint.

Not sure how to gracefully shutdown the the pipelines.

So far, this doesn't seem fix the issue of dolos becoming stuck on restart.

scarmuega commented 3 months ago

@alekswithakayy thank you for the PR, but I ended up adding this logic directly into the upstream gasket lib in this PR: https://github.com/construkts/gasket-rs/pull/22