Results 11 comments of Elineda

I found a solution for that. You need to inject a array of endpoint on your view pushs = PushInformation.objects.filter(user=request.user).all() endpoints=[] for push in pushs: endpoint = push.subscription.endpoint endpoints.append(endpoint) end=...

Hello, Can you give me step for reproduce the bug. I try enable the profiling panel with django 5.0.1 and python 3.12.1, I have not the problem.

Ok seem the problem occurs only the two requests are send on the runserver in the same times. Using a debuger like pycharm one is not necessary. That's strange because...

Found : you need to put --nothreading in runserver @mfosterw @ddkasa and @matthiask can you test this ?

I propose to add a note in installation.rst or tip.rst. I don't know if it's possible by adding something in the debug toolbar to disable the multitreading.

> @elineda Adding _--nothreading_ to the **runserver** command does seem to resolve the issue for me. > > I am running my development server through Uvicorn though, so I am...

I'm ok to add a note in profiling. If you have a problem with it you will check (I hope) the panel doc before complain.

> I wonder if it would be possible to add a counter variable which tracks the number of currently active profiling sessions; the profiler would only be activated when incrementing...

> I think we'd have to count that across threads. we can use cache for that.

with async compatibilty we will need a cache, for the same reason isn't ?