SugarCRM Request Timeout

I use SugarCRM to retrieve records (over 1000+ records) in Cases. I already configured config_override.php:

$sugar_config['max_record_fetch_size']= 1200;

php.ini:

max_execution_time = 3600;

I am still getting a timeout error. What else do I need to change?

+4
source share
2 answers

set the maximum runtime to 0 so that there is no timeout error ... but you need to optimize your code or request for receiving entries.

max_execution_time(0);
+3
source

In SugarCRM 7.6, a new configuration overrides api.timeout

$sugar_config['api']['timeout'] = 180;  //default 3 minutes

so I need to override the time to a higher value for me to avoid a request timeout error :-)

+1
source

Source: https://habr.com/ru/post/1627237/


All Articles