The timeout should be from max_execution_time in php.ini. If it is not in php.ini, it is most likely set in the server config.