From 55185b82172fc601b29ea64421e04db6be4bf155 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 23 May 2024 08:11:00 +0200 Subject: [PATCH] sync Relay proxy --- src/Symfony/Component/Cache/Traits/RelayProxy.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Symfony/Component/Cache/Traits/RelayProxy.php b/src/Symfony/Component/Cache/Traits/RelayProxy.php index 90af7a7d48ed..ac839dfda9ca 100644 --- a/src/Symfony/Component/Cache/Traits/RelayProxy.php +++ b/src/Symfony/Component/Cache/Traits/RelayProxy.php @@ -276,6 +276,11 @@ public function replicaof($host = null, $port = 0): \Relay\Relay|bool return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->replicaof(...\func_get_args()); } + public function waitaof($numlocal, $numremote, $timeout): \Relay\Relay|array|false + { + return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->waitaof(...\func_get_args()); + } + public function restore($key, $ttl, $value, $options = null): \Relay\Relay|bool { return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->restore(...\func_get_args());