Reduce timeouts again

docs
mdPlusPlus 3 years ago
parent 539ff4ff7b
commit 5f7d8f57b7

@ -5,10 +5,10 @@
// some global stuff // some global stuff
// set timeout for file_get_contents() // set timeout for file_get_contents()
ini_set('default_socket_timeout', 20); // in seconds, default is 60 ini_set('default_socket_timeout', 10); // in seconds, default is 60
// curl timeout is millisecons // curl timeout is millisecons
$curl_timeout_ms = 20000; $curl_timeout_ms = 10000;
// do not report warnings (timeouts, SSL/TLS errors) // do not report warnings (timeouts, SSL/TLS errors)
error_reporting(E_ALL & ~E_WARNING); error_reporting(E_ALL & ~E_WARNING);

Loading…
Cancel
Save