laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.88k stars 659 forks source link

New command `horizon:clear-metrics` does not work #1320

Closed jihadadulrazaqjasim closed 1 year ago

jihadadulrazaqjasim commented 1 year ago

Horizon Version

5.21.0

Laravel Version

10.24.0

PHP Version

8.2.10

Redis Driver

Predis

Redis Version

2.2.2

Database Driver & Version

PostgreSql

Description

The new command just added to Laravel horizon 5.21.0 does not work wiith predis driver, it throws below attached error:

Screenshot 2023-09-20 at 8 08 39 PM

Steps To Reproduce

running php artisan horizon:clear-metrics

trevorgehman commented 1 year ago

This was fixed in https://github.com/laravel/horizon/pull/1319

jihadadulrazaqjasim commented 1 year ago

@trevorgehman & @crynobone I've updated laravel and horizon to latest version, still same issue.

driesvints commented 1 year ago

This wasn't released yet but it is now: https://github.com/laravel/horizon/releases/tag/v5.21.1