Re: Channels 1.x

2018-02-28 Thread nferrari
Thank you Andrew for your answer! Nicolas On Wednesday, February 28, 2018 at 12:05:09 AM UTC+1, Andrew Godwin wrote: > > Yes, there is one session made per connection. They should expire and get > cleaned up like normal HTTP sessions if you run the session cleanup in > Django (or use backends t

Re: Channels 1.x

2018-02-27 Thread Andrew Godwin
Yes, there is one session made per connection. They should expire and get cleaned up like normal HTTP sessions if you run the session cleanup in Django (or use backends that auto-cleanup) Andrew On Tue, Feb 27, 2018 at 11:00 AM, nferrari wrote: > Hello, > > I'm using django-channels for some mo

Channels 1.x

2018-02-27 Thread nferrari
Hello, I'm using django-channels for some months and I'm observing a behaviour for which I don't know if it's a normal one, or a misconfiguration from my side. Here is my pretty simple consumer : # Connected to websocket.connect @channel_session_user_from_http def ws_task_connect(message): i