Skip to content

Conversation

@stayallive
Copy link
Collaborator

Horizon uses pipelining and the first argument is a closure instead the assumed string.

We first validate the assumption before using the first Redis command argument.

Also a check for newlines since scripts being executed do not look nice nor are useful in the description.

Fixes #663

@stayallive stayallive requested a review from cleptric March 22, 2023 08:27
@stayallive stayallive merged commit eb0998f into master Mar 22, 2023
@stayallive stayallive deleted the fix-pipeline-arguments-horizon branch March 22, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object of class Closure could not be converted to string

3 participants