🔊 why is there some delay here?

main
_ 2022-07-03 01:46:06 +00:00
parent 40338ca4aa
commit 4307a199bc
1 changed files with 4 additions and 1 deletions

View File

@ -121,6 +121,9 @@ async fn handle_http_request (
{ {
use RequestError::*; use RequestError::*;
let req_id = rusty_ulid::generate_ulid_string ();
debug! ("Created request {}", req_id);
let req_method = req.method.clone (); let req_method = req.method.clone ();
if ! state.server_exists (server_name).await { if ! state.server_exists (server_name).await {
@ -134,7 +137,7 @@ async fn handle_http_request (
let req_id = rusty_ulid::generate_ulid_string (); let req_id = rusty_ulid::generate_ulid_string ();
debug! ("Created request {}", req_id); debug! ("Forwarding {}", req_id);
{ {
let response_rendezvous = state.response_rendezvous.read ().await; let response_rendezvous = state.response_rendezvous.read ().await;