# 60 second timeout for HTTP server

**URL:** <https://community.fly.io/t/60-second-timeout-for-http-server/1243>\
**Category:** Questions / Help\
**Created:** [April 23, 2021, 4:49pm UTC](https://community.fly.io/t/60-second-timeout-for-http-server/1243 "2021-04-23T16:49:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jerome](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jerome/32/17_2.png) [@jerome](https://community.fly.io/u/jerome)\
**Post date:** [April 23, 2021, 4:57pm UTC](https://community.fly.io/t/60-second-timeout-for-http-server/1243/2 "2021-04-23T16:57:02Z")

</div>

Hey there!

Edit: There isn’t a idle timeout anymore.

~~There is a 60 _idle_ timeout. If no data is received or sent within 60 seconds, the connection will be closed.~~

~~This is not well documented (if at all). We could bring that up a bit, but there are other options that might work for you:~~

- ~~Use polling instead of 1 long request. Immediately respond with a 202 (Accepted) HTTP response code and then have your client poll your server every 5 seconds to get the status of your “job”.~~
- ~~Send back data through the connection to keep it alive.~~

~~The choice of `60s` is pretty arbitrary, we could make `120s` work! However, if you ever have a job that takes over 120s, then you’re left with the same problem.~~

---

_[View the full topic](https://community.fly.io/t/60-second-timeout-for-http-server/1243)._
