Open bodo-hugo-barwich opened 10 months ago
Running the example application chat.pl on writing a message an error occurs on Mojo::Redis::PubSub::notify():
chat.pl
Mojo::Redis::PubSub::notify()
[2023-11-17 08:23:22.06068] [15202] [trace] [Y7y7Bjxfyppy] 200 OK (0.001964s, 509.165/s) [2023-11-17 08:23:22.21928] [15202] [trace] [f7wuOk6BXRkh] GET "/socket" [2023-11-17 08:23:22.21955] [15202] [trace] [f7wuOk6BXRkh] Routing to a callback [2023-11-17 08:23:22.21980] [15202] [trace] [f7wuOk6BXRkh] 101 Switching Protocols (0.000497s, 2012.072/s) notify - msg: '08:23:34 <324> hello from tab1 no. 1' Mojo::Reactor::EV: I/O watcher failed: Too many arguments for subroutine 'Mojo::Server::Sandbox::3ba5867ec1bbaa84ec279dcb1831859a::__ANON__' at /usr/share/perl5/Mojo/Redis/PubSub.pm line 128.
https://github.com/jhthorsen/mojo-redis/blob/5f55a3a57b39dc2383d86769bcd8f17f10529409/lib/Mojo/Redis/PubSub.pm#L128
I observed this first on Mojolicious 8.71. Then I updated to Mojolicious 9.26 but it still fails.
This happens on Mojolicious 8.71 and latest Mojolicious 9.26
$ perl -MMojolicious -e 'print $Mojolicious::VERSION, "\n";' 9.26
Running the example application
chat.pl
on writing a message an error occurs onMojo::Redis::PubSub::notify()
:https://github.com/jhthorsen/mojo-redis/blob/5f55a3a57b39dc2383d86769bcd8f17f10529409/lib/Mojo/Redis/PubSub.pm#L128
I observed this first on Mojolicious 8.71. Then I updated to Mojolicious 9.26 but it still fails.
This happens on Mojolicious 8.71 and latest Mojolicious 9.26