Your processes (worker or web) have 10 seconds after receiving SIGTERM to stop themselves[1]. After 10 seconds they will be summarily executed with SIGKILL. Looks like Play has built-in support for SIGTERM handling, so you should be good to go with your web dynos, As for your workers, it's up you or whatever framework you're using to run them.
[1]: https://devcenter.heroku.com/articles/dynos#shutdown [2]: https://www.playframework.com/documentation/2.0/Production --Pete On Thu, Mar 12, 2015 at 10:31 AM, Alan Alfredo Rojas Marroquin < [email protected]> wrote: > > nobody? :/ Plz Help!!! TT > > I have another question, What happens with processes when a Worker Dyno is > Restarted? > > El miércoles, 11 de marzo de 2015, 12:53:19 (UTC-5), Alan Alfredo Rojas > Marroquin escribió: > >> Hi, >> I have a Java Play Framework Deployed. >> >> And I have those questions about Dyno(s) cycling: >> >> When a SIGTERM is performed or is in clycling: >> >> >> 1. What happens with the requests to my app? are They accepted?. >> What response is gave to client ? >> 2. What happens if a request was accepted and my app is processing? >> >> >> I hope you can help with this questions. >> >> Thanks fo your time. XD >> >> >> -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
