Skip to content

Commit

Permalink
Remove unnecessary sleep (#3409)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose authored Oct 22, 2024
1 parent 69b2c49 commit b412e6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/handlers/src/views/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub async fn get(
cookie_jar: CookieJar,
PreferredLanguage(locale): PreferredLanguage,
) -> Result<impl IntoResponse, FancyError> {
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
let (csrf_token, cookie_jar) = cookie_jar.csrf_token(&clock, &mut rng);
let (session_info, cookie_jar) = cookie_jar.session_info();
let session = session_info.load_session(&mut repo).await?;
Expand Down

0 comments on commit b412e6a

Please sign in to comment.