Friday, March 24, 2017

Re: Django channels, more than one project

Run two Daphne instances, each with a different channel layer configured. To make sure the channel layers for the apps do not conflict, configure them either with different Redis servers or different values for the "prefix" argument to the channel layer on the same server.

Andrew

On Fri, Mar 24, 2017 at 1:02 AM, Алексей Кузуб <ronixxx92@gmail.com> wrote:
Hello! I am using Django channels with daphne. And I want to deploy two projects on one server. How can I do it? Should I run two daphnes or do some routing? And how can I separate workers for two daphnes?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/5241949e-47fa-44f7-a65a-1bbf16a7dc13%40googlegroups.com.
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAFwN1urFisaHBk7nabf%2BrXaGXwQOEbcLvr1vCoCFTWX5%3DWoBew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment