OpenSwoole\Core\Coroutine\Client\RedisConfig->withTimeout

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Core\Coroutine\Client\RedisConfig->withTimeout()

Parameters

timeout

The timeout of Redis.

Return

Description

Set the timeout of Redis.

Last updated on September 16, 2022