mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Implement ErrorCode on the milli::Error type
This commit is contained in:
parent
478e3f0f6b
commit
b83710ea98
6 changed files with 45 additions and 10 deletions
|
@ -13,7 +13,6 @@ pub mod metrics;
|
|||
pub mod route_metrics;
|
||||
|
||||
use std::sync::{atomic::AtomicBool, Arc};
|
||||
use std::time::Duration;
|
||||
|
||||
use crate::error::MeilisearchHttpError;
|
||||
use actix_web::error::JsonPayloadError;
|
||||
|
@ -21,7 +20,6 @@ use actix_web::web::Data;
|
|||
use analytics::Analytics;
|
||||
use error::PayloadError;
|
||||
use http::header::CONTENT_TYPE;
|
||||
use index_scheduler::milli::update::IndexerConfig;
|
||||
pub use option::Opt;
|
||||
|
||||
use actix_web::{web, HttpRequest};
|
||||
|
@ -29,7 +27,6 @@ use actix_web::{web, HttpRequest};
|
|||
use extractors::payload::PayloadConfig;
|
||||
use index_scheduler::IndexScheduler;
|
||||
use meilisearch_auth::AuthController;
|
||||
use sysinfo::{RefreshKind, System, SystemExt};
|
||||
|
||||
pub static AUTOBATCHING_ENABLED: AtomicBool = AtomicBool::new(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue