Timeout issue
-
Hello,
We have installed Smush on our Cpanel+CloudLinux+LiteSpeed and when we try to optimize images after around 15 seconds we get below error:
===
Skipped due to a timeout error. You can increase the request timeout to make sure Smush has enough time to process larger files. define(‘WP_SMUSH_API_TIMEOUT’, 150)
===
Obviously we added the code snippet to our wp-config file but the 15 second remained unchanged and when we raise the time in the code it doesn’t make any difference to the 15 second default time out.What we have done:
1- Used all the solutions on wpmudev.com forums and other sources
2- Raised all configurations of PHP about time and size
3- Removed all resource restrictions of CloudLinux
4- Raised all configurations of LiteSpeed about time
5- Used different methods of adding “define(‘WP_SMUSH_API_TIMEOUT’, 150)”
6- Installed Smush on fresh installation of WordPress
7- Tried Smush on fresh installation of WordPress in another Cpanel
8- Checked “curl -I https://smushpro.wpmudev.org/1.0” which was okay
9- Checked all of Smush’s IPs which were okay
10- Checked if there was any error about the plugin in error_logs which wasn’t anyNow we are at loss here. What keeps breaking the process of optimization? And more importantly why the 15 second timeout isn’t changing at all.
Is there a way to change the hard coded 15 second?
The page I need help with: [log in to see the link]
The topic ‘Timeout issue’ is closed to new replies.