title: Gunicorn increase timeout doesn't takes effect
body: <p>I have a minimal flask API deployed on digital ocean which throws this error when I do a large request:</p>
  <blockquote>
  <p>[1] [CRITICAL] WORKER TIMEOUT (pid:16)</p>
  </blockquote>
  <p>I tried:</p>
  <p>/env/Lib/site-packages/gunicorn-config.py (0 is unlimited, but I tried 500 etc.)</p>
  <pre><code>class Timeout(Setting):
      name = &quot;timeout&quot;
      section = &quot;Worker Processes&quot;
      cli = [&quot;-t&quot;, &quot;--timeout&quot;]
      meta = &quot;INT&quot;
      validator = validate_pos_int
      type = int
      default = 0
      desc = &quot;&quot;&quot;\
  </code></pre>
  <p>gunicorn_config.py</p>
  <pre><code>bind = &quot;0.0.0.0:8080&quot;
  workers = 2
  timeout = 300
  </code></pre>
  <p>Procfile</p>
  <pre><code>web: gunicorn app:app --timeout 300
  </code></pre>
  <p>But I get the same error on the digital ocean console, and on the browser frontend I get the 504 error after about 30 secs which means I'm not overwriting the 30 seconds gunicorn default.
  Smaller/faster requests they work good.</p>
  <p>Any idea what can be the issue? Thanks so much!</p>