Re: Channels thread count is increasing

2018-09-17 Thread Andrew Godwin
There's a reasonably large threadpool that sync_to_async uses (I think it defaults to number of CPU cores * 5), so you're probably just seeing that. It should stop growing at some point. Andrew On Sat, Sep 15, 2018 at 4:02 PM erkin kabataş wrote: > Hi All, > > I am new to python and django. > I

Re: Channels thread count is increasing

2018-09-16 Thread erkin kabataş
Hi, I followed the channels documentation, you can check from here: https://channels.readthedocs.io/en/latest/tutorial/part_1.html After completing this part, in every page refresh, thread count is increasing at top 23. 16 Eylül 2018 Pazar 06:05:02 UTC+3 tarihinde vs704263 yazdı: > > In post A

Re: Channels thread count is increasing

2018-09-15 Thread vishal sharma
In post API How to return response to network machine in Django ? On Sun, 16 Sep 2018 at 4:32 AM, erkin kabataş wrote: > Hi All, > > I am new to python and django. > I am using Python 3.6.5, Django 2.1 and Channels 2.1.2. > My problem is when I switch to ASGI from WSGI server, in every request,