Skip to content

Commit 72c3827

Browse files
committed
Update RedisDashboard.php
1 parent f217ff5 commit 72c3827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dashboards/Redis/RedisDashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private function connect(array $server): Redis {
8080
$server['port'] ??= 6379;
8181

8282
try {
83-
$redis->connect($server['host'], (int) $server['port']);
83+
$redis->connect($server['host'], (int) $server['port'], 3);
8484
} catch (Exception $e) {
8585
throw new DashboardException(
8686
sprintf('Failed to connect to Redis server (%s:%s). Error: %s', $server['host'], $server['port'], $e->getMessage())

0 commit comments

Comments
 (0)