stable

Clone or download

Read-only

Cache permissions to reduce the amout of SQL queries at Start Scrum

First step, reduce the number of SQL requests by caching permissions. This removes 2004 queries on the 5016 (!) and reduce wall time by 15% according to blackfire. It should also improve anything that check permissions. Part of request #10030 start scrum timeout with slow database writes Change-Id: Idd624b2e4897d32047868e2dc055f1f06352039b

Modified Files

Name
M src/common/autoload.php +3 −2 Go to diff View file
A src/common/project/UgroupsPermissionsCache.php +57 −0 Go to diff View file
M src/www/project/admin/permissions.php +9 −1 Go to diff View file