title: How to config wordpress ajax timeout limitation
body: <p>I am working on our own wordpress platform. We are sending a post request to another server and ajax call from that server. If the server response get ready, the page will simply render that response. However, the server will need to process on the data in post request and it may take a long time(more than 1 minute). But for wordpress, I think by default it only allow ajax call for 1 minute. If the time server response comes back exceed one minute, page will get a 504 (GATEWAY_TIMEOUT).</p>
  
  <blockquote>
    <p>issue: jquery.js?ver=1.12.4-wp:4 POST <a href="https://example.com/wp-admin/admin-ajax.php" rel="nofollow noreferrer">https://example.com/wp-admin/admin-ajax.php</a> 504 (GATEWAY_TIMEOUT)</p>
  </blockquote>
  
  <p>I expect to increase upper bound of ajax call limitation. I try to modify timeout-related code in wp-admin folder. Still cant work.</p>