[Patchew-devel] [PATCH 1/1] debug: Enable debug toolbar for superuser in production deploy
Fam Zheng
famz at redhat.com
Wed Oct 31 03:09:51 UTC 2018
On Tue, 10/30 11:02, Paolo Bonzini wrote:
> On 30/10/2018 10:57, Fam Zheng wrote:
> >> Great! But I would make it "DEBUG or request.user.is_staff" (i.e. users
> >> that can access the admin) instead. That's because I'm not superuser on
> >> patchew.org. :)
> >
> > Sounds good, I'll tweak it and repost.
>
> Go ahead and deploy it. :)
The problem is that adding the middleware slows down tests. I'll see if this can
be improved.
Fam
>
> >> patchew.org is very slow, not sure why. I wonder if just strace or top
> >> can actually provide a clue...
> >
> > Yeah, let me find some time to work on the performance in the coming month.
>
> Maybe all we need is to switch to Postgres. It would also give
> full-text search indices, so it's probably a good idea.
>
> Paolo
More information about the Patchew-devel
mailing list