I don't understand what the problem is that you're trying to solve :)
But this is not working when this aplication is running under hypnotad.
In what way?
Problem is in 'global' varibale $clients where reference to client's tx is stored. $clients is not global enough and of course not shared between hypnotoad workers (processes).
Why is this a problem (what is the problem)? What are you trying to solve?
To solve this problem, the author of this example offered use Database or KeyValueStore to save "reference to clients tx". Can anybody suggest how to do it?it?
Where did the author of mojo offer this wisdom, do you have a link? http://irclog.perlgeek.de/mojo/...?
I might be able to help if I could understand what trouble you're experiencing
In reply to Re: Mojolicious: Websocket example under hypnotoad
by Anonymous Monk
in thread Mojolicious: Websocket example under hypnotoad
by farkhadbek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |