-- HTTP ERROR 500
It might be a timeout, usually I see 500 errors when there is a server (Apache, etc) misconfiguration. So I would check your logs first.
Apache has a TimeOut directive which defaults to 300 seconds = 5 minutes, so probably isn't the issue. PHP has a max_execution_time which defaults to 30 seconds and can be set in the php.ini file.
The only queries where there is a timeout factor in Yioop itself would be if you had several machines. Then if one of those machines isn't responding the config PAGE_TIMEOUT would cut off the request eventually. This is also by default 30 seconds. If queries are taking 30 seconds, probably something else is wrong, so I would check your log files.
Best,
Chris
(
Edited: 2019-03-07)
It might be a timeout, usually I see 500 errors when there is a server (Apache, etc) misconfiguration. So I would check your logs first.
Apache has a TimeOut directive which defaults to 300 seconds = 5 minutes, so probably isn't the issue. PHP has a max_execution_time which defaults to 30 seconds and can be set in the php.ini file.
The only queries where there is a timeout factor in Yioop itself would be if you had several machines. Then if one of those machines isn't responding the config PAGE_TIMEOUT would cut off the request eventually. This is also by default 30 seconds. If queries are taking 30 seconds, probably something else is wrong, so I would check your log files.
Best,
Chris