title: AppEngine - What's the timeout for Node cloud tasks handlers?
body: <p>I have an application that does some work in background, using default Cloud Tasks for scheduling/executing the process.</p>
  
  <p>I would like the job to be able to run for a few minutes, or at least understand what the actual limitations are and what I can do about them.</p>
  
  <p>According to <a href="https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/#the_task_deadline" rel="noreferrer">docs on Push Queues</a> (which seem to be equivalent to the modern Cloud Tasks?), the deadline is 10 minutes for auto-scaling, and 24 hours for basic scaling.</p>
  
  <p>However, my job seems to crash after 2 minutes. 115 seconds is fine, 121 seconds is a crash. The workload and resource consumption is the same in all cases. The message is always the unhelpful "The process handling this request unexpectedly died. This is likely to cause a new process to be used for the next request to your application. (Error code 203)".</p>
  
  <p>It does not matter if I use an auto-scaling F2 instance, or basic-scaling B2. It gets terminated after 2 minutes.</p>
  
  <p>According to <a href="https://cloud.google.com/appengine/docs/standard/nodejs/how-requests-are-handled" rel="noreferrer">docs on Node request handling</a>, there is a 60-second timeout for "request handlers"</p>
  
  <p>What is the timeout in the end? Is it 1 minute, 2 minutes, or 10 minutes? Is there anything I can do to change it, if I want my job to run for 5 or 30 minutes.</p>