time adjustments
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							fdab04e7ea
						
					
				
				
					commit
					98b146f51d
				
			| @@ -153,7 +153,7 @@ class Client | |||||||
| 	{ | 	{ | ||||||
| 		$xml = $request->getXml(); | 		$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 | 		// send request | ||||||
| 		$this->reqhandle++; | 		$this->reqhandle++; | ||||||
| 		if ($this->protocol == 1) | 		if ($this->protocol == 1) | ||||||
| @@ -196,7 +196,7 @@ class Client | |||||||
| 		{ | 		{ | ||||||
| 			$size = 0; | 			$size = 0; | ||||||
| 			$recvhandle = 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 | 			// Get result | ||||||
| 			if ($this->protocol == 1) | 			if ($this->protocol == 1) | ||||||
| 			{ | 			{ | ||||||
|   | |||||||
| @@ -325,6 +325,10 @@ class ManiaControl implements CommandListener, TimerListener { | |||||||
| 				$this->callbackManager->manageCallbacks(); | 				$this->callbackManager->manageCallbacks(); | ||||||
|  |  | ||||||
| 			} catch(FatalException $e) { | 			} catch(FatalException $e) { | ||||||
|  | 				//TODO remove | ||||||
|  | 				if($this->errorHandler){ | ||||||
|  | 					$this->errorHandler->triggerDebugNotice("Fatal Exception: " . $e->getMessage() . " tracestring " . $e->getTraceAsString()); | ||||||
|  | 				} | ||||||
| 				$this->quit($e->getMessage()); | 				$this->quit($e->getMessage()); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user