Sorry, I should have rephrased that. I have not found anything related to this issue in any examples, mainly because most if not all examples are for lite apps.
I suspect that with lite apps the thread will get shut down properly on the QUIT signal, but hypnotoad specifically is grabbing that for a graceful shutdown. So the question is, when using hypnotoad, is there good way to signal that the socket needs to close and cleanup before the timeout hits. On Thursday, April 11, 2019 at 9:20:30 AM UTC-4, Stefan Adams wrote: > > Whatever applies to lite apps applies to full apps. What did you find for > lite app examples that pertains to your problem? > > On Thu, Apr 11, 2019 at 7:35 AM James Dooley <[email protected] > <javascript:>> wrote: > >> I have a large application running with hypnotoad, recently I added a >> websocket connection but I have run in to an issue. I have found is that >> when the worker is signaled to shutdown it stays up until the timeout hits. >> >> I am using $c->on(finish) to grab when the websocket itself closes, but I >> am not sure what to hook on to for when the server itself needs to shutdown. >> >> All of the examples I have seen either are for lite apps, or do not make >> any mention of this issue. Any suggestions would be appreciated. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mojolicious" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/mojolicious. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
