Do not report server is not ready
This commit is contained in:
		@@ -37,10 +37,10 @@ class ServerStatusJob implements ShouldQueue, ShouldBeEncrypted
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    public function handle()
 | 
					    public function handle()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        try {
 | 
					 | 
				
			||||||
        if (!$this->server->isServerReady($this->tries)) {
 | 
					        if (!$this->server->isServerReady($this->tries)) {
 | 
				
			||||||
            throw new \RuntimeException('Server is not ready.');
 | 
					            throw new \RuntimeException('Server is not ready.');
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					        try {
 | 
				
			||||||
            if ($this->server->isFunctional()) {
 | 
					            if ($this->server->isFunctional()) {
 | 
				
			||||||
                $this->cleanup(notify: false);
 | 
					                $this->cleanup(notify: false);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user