zebra/zebra-test
Alfredo Garcia cc594f1c58
Security: Stop RocksDB or tokio calling unexpected code when zebrad exits (#3392)
* cancel background database tasks in `FinalizedState` destructor

* use `shutdown_timeout()`

* Log info-level messages while waiting for background tasks to shut down

* Cancel background tasks during debug_stop_at_height shutdown

This commit moves the database shutdown code into a common function.

* Create a constant for the tokio timeout

* Add a test script for Zebra shutdown errors

* Increase the shutdown timeout to 20 seconds for slower machines

* add title to building zebra

* use imported duration

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-26 13:16:44 +00:00
..
scripts Security: Stop RocksDB or tokio calling unexpected code when zebrad exits (#3392) 2022-01-26 13:16:44 +00:00
src T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
tests Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
Cargo.toml Bump regex from 1.4.6 to 1.5.4 (#3354) 2022-01-25 19:54:26 +00:00