drop report delay response range to 2-5 secs
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
6cbaef2d12
commit
ee6af6c90e
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ async fn is_event_report_valid(
|
|||
/// random delay sending a response per spec suggestion regarding
|
||||
/// enumerating for potential events existing in our server.
|
||||
async fn delay_response() {
|
||||
let time_to_wait = rand::thread_rng().gen_range(3..10);
|
||||
let time_to_wait = rand::thread_rng().gen_range(2..5);
|
||||
debug_info!("Got successful /report request, waiting {time_to_wait} seconds before sending successful response.");
|
||||
sleep(Duration::from_secs(time_to_wait)).await;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue