---
title: "Discussion on \"Why My 202 Accepted Endpoint Still Timed Out After 8 Seconds (and How tokio::spawn Fixed It)\" | Hashnode"
description: "Discussion on \"Why My 202 Accepted Endpoint Still Timed Out After 8 Seconds (and How tokio::spawn Fixed It)\". My Axum endpoint returned 202 Accepted, yet Flutter crashed with TimeoutException after 8s. Offloading SMTP to tokio::spawn cut latency to 15ms."
url: "https://hashnode.com/posts/http-202-async-email-timeout/6b117bdc9beadeb98788f26e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why My 202 Accepted Endpoint Still Timed Out After 8 Seconds (and How tokio::spawn Fixed It)](https://eagleblog.hashnode.dev/http-202-async-email-timeout?utm_source=hashnode&utm_medium=feed)

My Axum endpoint returned 202 Accepted, yet Flutter crashed with TimeoutException after 8s. Offloading SMTP to tokio::spawn cut latency to 15ms.

1d ago · 4 min read · eagleblog.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#backend](https://hashnode.com/tag/backend)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#api](https://hashnode.com/tag/api)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Eagle](https://hashnode.com/@eagle2000)

@eagle2000

  
[View profile](https://hashnode.com/@eagle2000)

Software Engineer writing about Rust, Flutter/Dart, ESP32 & performance

Cheerful Software Engineer writing about Rust, Flutter/Dart, ESP32, and photography. Author of EagleBlog (eagle2000.space) and the "Programmer's Lighthouse" channel.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
