From 728058441ad7b7d155fad17f7aa14fd04f53f193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 20 Feb 2021 13:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Abstracts/Pool.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 672e3e0a..79c21062 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -80,9 +80,9 @@ abstract class Pool extends Component #[Pure] public function name($driver, $cds, $isMaster = false): string { if ($isMaster === true) { - return $driver . ':' . $cds . 'master'; + return $cds . '_master'; } else { - return $driver . ':' . $cds . 'slave'; + return $cds . '_slave'; } } @@ -132,7 +132,6 @@ abstract class Pool extends Component return; } - var_dump($coroutineName); if ($this->creates === -1) { $this->creates = Timer::tick(1000, [$this, 'Heartbeat_detection']); }