remove timeout search query parameter

fix requested changes
This commit is contained in:
Quentin de Quelen
2020-04-24 18:18:40 +02:00
committed by qdequele
parent bc8ff49de3
commit ea308eb798
4 changed files with 6 additions and 20 deletions

View File

@ -15,11 +15,11 @@ mod analytics;
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[tokio::main]
#[actix_rt::main]
async fn main() -> Result<(), MainError> {
let opt = Opt::from_args();
let local = tokio::task::LocalSet::new();
let _sys = actix_rt::System::run_in_tokio("server", &local);
// let local = tokio::task::LocalSet::new();
// let _sys = actix_rt::System::run_in_tokio("server", &local);
match opt.env.as_ref() {
"production" => {