Are you using Channels 1 or Channels 2? And which channel layer are you
using?

Andrew

On Sun, Nov 11, 2018 at 5:05 AM Parsa Banihashemi <
[email protected]> wrote:

> Hi,
> I have a simple sync consumer which receives websocket messages from the
> client, and each time, It passes a message to a worker channel to process
> it.
> A LOT of the messages are just simply lost and not processed.
> I have a print ("sent") whenever a message is sent to the worker channel.
> I have another print("received") statement at the beginning of worker's
> method.
> If I send tasks to the worker more frequently that every 2-3 seconds, the
> worker simply just ignores them. I see the "sent" in main stdout, but not
> received in the worker's stdout
> I have to wait 2-3 seconds and send another message to see "received"
> statement in stdout
>
> That is so strange and disappointing. I am debugging on Windows Pycharm,
> and running the worker process correctly I guess
>
> I appreciate any insights
>
> --
> 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/53dbaf3e-5bee-4a54-a4b5-51be2bcf60d3%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/53dbaf3e-5bee-4a54-a4b5-51be2bcf60d3%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/CAFwN1urO-p61bu5i%2B4g4w0OVdaWZwWU8XS9XGCFNXK-Pu3qHwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to