The underlying Daphne code will send PING requests to the client periodically, adjustable with --ping-interval. If it doesn't get a response back before --ping-timeout, it will close the connection.
Heroku have their own loadbalancer, so it's possible that is changing how the sockets behave. Andrew On Thu, Mar 29, 2018 at 7:52 AM, lakeshow <[email protected]> wrote: > Is this even done server side? Or does it need to be implemented with js > for the client? > > I ask because it appears that my connection repeatedly before or during > the attempt to connect. It only happens when uploaded to Heroku's servers > as well. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" 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/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/0829ae5b-c03b-44f1-b8de-9c237153bc59%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/0829ae5b-c03b-44f1-b8de-9c237153bc59%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwN1uoQNjOyBZ%3DiEJ%2BiV6mExPdMLQNKr4KiYdfLifWiwpooLA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

