# What makes an API HTTP request to Phoenix hang until going through controller function code?

**URL:** <https://forum.elixirforum.com/t/what-makes-an-api-http-request-to-phoenix-hang-until-going-through-controller-function-code/62741>\
**Category:** Questions\
**Tags:** phoenix\
**Created:** [April 6, 2024, 2:42am UTC](https://forum.elixirforum.com/t/what-makes-an-api-http-request-to-phoenix-hang-until-going-through-controller-function-code/62741 "2024-04-06T02:42:38Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dimitarvp](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/32/38664_2.png) [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Post date:** [April 8, 2024, 4:06pm UTC](https://forum.elixirforum.com/t/what-makes-an-api-http-request-to-phoenix-hang-until-going-through-controller-function-code/62741/10 "2024-04-08T16:06:41Z")

</div>

No, more like increase the `queue_target` and `queue_timeout` as a start. Maybe in conditions of higher load whoever needs DB connections has to wait more. These two options have helped me in very limited cases.

[Link to docs](https://hexdocs.pm/db_connection/DBConnection.html#start_link/2-options).

---

_[View the full topic](https://forum.elixirforum.com/t/what-makes-an-api-http-request-to-phoenix-hang-until-going-through-controller-function-code/62741)._
