diff --git a/app/Support/ClusterSupport.php b/app/Support/ClusterSupport.php index a1c03de..0d3e079 100644 --- a/app/Support/ClusterSupport.php +++ b/app/Support/ClusterSupport.php @@ -74,6 +74,11 @@ public static function updateThisNode($data = []): void ClusterSupport::hset('nodes', $node_id, $node); } + public static function removeNode($node_id): void + { + self::hdel('nodes', $node_id); + } + public static function hset($key, $value, $data = []): void { /** @noinspection PhpUndefinedMethodInspection */