Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: real-time output from Mojolicious WebSockets?

by Anonymous Monk
on Dec 20, 2014 at 00:08 UTC ( #1110898=note: print w/replies, xml ) Need Help??


in reply to Re^2: real-time output from Mojolicious WebSockets?
in thread real-time output from Mojolicious WebSockets?

... but the affects were still the same in ...

:) in that one subroutine the comments says odd, we never see this output but Mojo doesn't have a "You should never see this." event, so it makes sense that sub is never executed and output is never seen ... mojo will never call it

OTOH why the buffering happens, is odd ... I'll take a closer look later

OTOH, standard way of doing this, instead of calling a sub that sleeps, Proc::Background a process that sleeps, basic technique from Watching long processes through CGI (Aug 02)

  • Comment on Re^3: real-time output from Mojolicious WebSockets?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1110898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2021-06-25 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (135 votes). Check out past polls.

    Notices?