mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +01:00
remove the connection timeout
This commit is contained in:
parent
c3003065e8
commit
fd11903920
@ -2,6 +2,7 @@ use std::env;
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use actix_web::HttpServer;
|
use actix_web::HttpServer;
|
||||||
|
use actix_web::http::KeepAlive;
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use meilisearch_auth::AuthController;
|
use meilisearch_auth::AuthController;
|
||||||
use meilisearch_http::analytics;
|
use meilisearch_http::analytics;
|
||||||
@ -83,7 +84,8 @@ async fn run_http(
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
// Disable signals allows the server to terminate immediately when a user enter CTRL-C
|
// Disable signals allows the server to terminate immediately when a user enter CTRL-C
|
||||||
.disable_signals();
|
.disable_signals()
|
||||||
|
.keep_alive(KeepAlive::Os);
|
||||||
|
|
||||||
if let Some(config) = opt.get_ssl_config()? {
|
if let Some(config) = opt.get_ssl_config()? {
|
||||||
http_server
|
http_server
|
||||||
|
Loading…
Reference in New Issue
Block a user