Thank you very much, Andrew! It works for two independent layers. You are really cool and really helped me once again! =)
пятница, 24 марта 2017 г., 16:25:42 UTC+3 пользователь Andrew Godwin написал: > > 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, Алексей Кузуб <[email protected] > <javascript:>> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 >> >> <https://groups.google.com/d/msgid/django-users/5241949e-47fa-44f7-a65a-1bbf16a7dc13%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/abeb58e1-4de3-402d-a46b-d58d966bb698%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

