time adjustments
This commit is contained in:
parent
fdab04e7ea
commit
98b146f51d
@ -153,7 +153,7 @@ class Client
|
||||
{
|
||||
$xml = $request->getXml();
|
||||
|
||||
@stream_set_timeout($this->socket, 0, $this->timeout * 1000 * 10);
|
||||
@stream_set_timeout($this->socket, 0, $this->timeout * 1000 * 100);
|
||||
// send request
|
||||
$this->reqhandle++;
|
||||
if ($this->protocol == 1)
|
||||
@ -196,7 +196,7 @@ class Client
|
||||
{
|
||||
$size = 0;
|
||||
$recvhandle = 0;
|
||||
@stream_set_timeout($this->socket, 0, $this->timeout * 1000 * 10);
|
||||
@stream_set_timeout($this->socket, 0, $this->timeout * 1000 * 50);
|
||||
// Get result
|
||||
if ($this->protocol == 1)
|
||||
{
|
||||
|
@ -325,6 +325,10 @@ class ManiaControl implements CommandListener, TimerListener {
|
||||
$this->callbackManager->manageCallbacks();
|
||||
|
||||
} catch(FatalException $e) {
|
||||
//TODO remove
|
||||
if($this->errorHandler){
|
||||
$this->errorHandler->triggerDebugNotice("Fatal Exception: " . $e->getMessage() . " tracestring " . $e->getTraceAsString());
|
||||
}
|
||||
$this->quit($e->getMessage());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user