Minor correction
This commit is contained in:
parent
c80b4b39c4
commit
84b89eaf9d
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
||||||
use GearmanClient;
|
use GearmanClient;
|
||||||
use GearmanTask;
|
use GearmanTask;
|
||||||
use LogLib\Log;
|
use LogLib\Log;
|
||||||
use ncc\Utilities\Console;
|
|
||||||
use Tamer\Abstracts\TaskPriority;
|
use Tamer\Abstracts\TaskPriority;
|
||||||
use Tamer\Exceptions\ConnectionException;
|
use Tamer\Exceptions\ConnectionException;
|
||||||
use Tamer\Interfaces\ClientProtocolInterface;
|
use Tamer\Interfaces\ClientProtocolInterface;
|
||||||
|
@ -184,7 +183,7 @@
|
||||||
*/
|
*/
|
||||||
public function reconnect(): void
|
public function reconnect(): void
|
||||||
{
|
{
|
||||||
Console::outDebug('net.nosial.tamerlib', 'reconnecting to gearman server(s)');
|
Log::debug('net.nosial.tamerlib', 'reconnecting to gearman server(s)');
|
||||||
|
|
||||||
$this->disconnect();
|
$this->disconnect();
|
||||||
$this->connect();
|
$this->connect();
|
||||||
|
|
Loading…
Add table
Reference in a new issue