mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
better than before???
This commit is contained in:
parent
bcf1c4dae5
commit
5e52107474
3 changed files with 22 additions and 17 deletions
|
@ -88,9 +88,12 @@ fn is_empty_db(db_path: impl AsRef<Path>) -> bool {
|
|||
|
||||
/// The handle used to update the logs at runtime. Must be accessible from the `main.rs` and the `route/logs.rs`.
|
||||
pub type LogRouteHandle =
|
||||
tracing_subscriber::reload::Handle<Option<LogRouteType>, tracing_subscriber::Registry>;
|
||||
pub type LogRouteType =
|
||||
Box<dyn tracing_subscriber::Layer<tracing_subscriber::Registry> + Sync + Send>;
|
||||
tracing_subscriber::reload::Handle<LogRouteType, tracing_subscriber::Registry>;
|
||||
pub type LogRouteType = tracing_subscriber::filter::Filtered<
|
||||
Option<Box<dyn tracing_subscriber::Layer<tracing_subscriber::Registry> + Send + Sync>>,
|
||||
tracing_subscriber::filter::LevelFilter,
|
||||
tracing_subscriber::Registry,
|
||||
>;
|
||||
|
||||
pub fn create_app(
|
||||
index_scheduler: Data<IndexScheduler>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue