Skip to main content
nmathur
Staff
Staff
May 11, 2020

How To: Increase the API timeout value

  • May 11, 2020
  • 0 replies
  • 3074 views
Description
API Request timeout value is set by default to 30 seconds. If you want to change the API request timeout value in cases where you are getting timeouts (might be for a large set of data), you can increase the API request timeout value upto a maximum of 60 seconds.
Solution

To increase the timeout value from 30 seconds to 60 seconds, do the following:

  1. Edit the /etc/php.ini file:  
    [root@cybersponse csadmin]# vi /etc/php.ini 
  2. In the /etc/php.ini file, replace the following line:
    max_execution_time = 30
    TO
    max_execution_time = 60
  3. Restart php-fpm using the following command:
    systemctl restart php-fpm


Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!