Configure different timeouts in gunicorn for different endpoints? : <p>Gunicorn allows configuring a timeout for requests, as demonstrated in their documentation below. This seems to be a global configuration for the entire application.</p>

<p>Is it possible to configure different timeouts for different endpoints? Perhaps overriding the default timeout on url endpoints that are known to take a long time?</p>

<p><a href="http://docs.gunicorn.org/en/stable/settings.html#timeout" rel="noreferrer">http://docs.gunicorn.org/en/stable/settings.html#timeout</a></p>

<blockquote>
  <p>timeout</p>
  
  <p>-t INT, --timeout INT</p>
  
  <p>30</p>
  
  <p>Workers silent for more than this many seconds are killed and restarted.</p>
  
  <p>Generally set to thirty seconds. Only set this noticeably higher if
  you’re sure of the repercussions for sync workers. For the non sync
  workers it just means that the worker process is still communicating
  and is not tied to the length of time required to handle a single
  request.</p>
</blockquote>
