[Patchew-devel] [PATCH 1/1] debug: Enable debug toolbar for superuser in production deploy

Paolo Bonzini pbonzini at redhat.com
Tue Oct 30 10:02:29 UTC 2018


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. :)

>> 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