Zebra/zebrad/src
Arya d9fae6e311
fix(test) switch zebrad to a non-blocking tracing logger (#5032)
* adds non-blocking writer for tracing subscriber

* use non_blocking writer for the fmt::Layer with the tokio-console feature as well

* adds doc comment to _guard field

* adds acceptance test

* update filter_handle type to use NonBlocking

* adds more detail on lossy non-blocking writer and sets tracing.filter to "trace" in acceptance test

* drops ZebradApp before process::exit(1) in the event of a FrameworkError

* reduces buffered lines limit to 8000

* adds tracing.buffer_limit config and some comments

* update acceptance.rs

* fix acceptance test

* fixes ambigious phrasing in comment

* updates zebrad/src/application.rs

* Find out what the join error is in the GitHub runner tests

* updates acceptance test to use recv_timeout instead of always waiting 10 seconds, removes unnecessary echo command, and reduces # of rpc requests to 500

* see if sleeping for a few seconds before exiting helps the macOS test pass

* Expand exit sleep docs

Co-authored-by: Arya <aryasolhi@gmail.com>

Co-authored-by: teor <teor@riseup.net>
2022-09-07 07:39:30 +00:00
..
application adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
bin/zebrad Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
commands adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
components fix(test) switch zebrad to a non-blocking tracing logger (#5032) 2022-09-07 07:39:30 +00:00
application.rs fix(test) switch zebrad to a non-blocking tracing logger (#5032) 2022-09-07 07:39:30 +00:00
commands.rs adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
components.rs Re-order Zebra startup, so slow services are launched last (#3091) 2021-11-23 17:42:44 +00:00
config.rs fix(test) switch zebrad to a non-blocking tracing logger (#5032) 2022-09-07 07:39:30 +00:00
lib.rs Fix up links in some tracing docs (#4748) 2022-07-22 16:32:56 +00:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00