public function SocketHandler::setConnectionTimeout in Lagoon Logs 8
Set connection timeout. Only has effect before we connect.
Parameters
float $seconds:
See also
http://php.net/manual/en/function.fsockopen.php
File
- src/
Logger/ SocketHandler.php, line 120
Class
- SocketHandler
- Stores to any socket - uses fsockopen() or pfsockopen().
Namespace
Drupal\lagoon_logs\LoggerCode
public function setConnectionTimeout($seconds) {
$this
->validateTimeout($seconds);
$this->connectionTimeout = (double) $seconds;
}