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

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

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