[galaxyproject/galaxy] 7457ce: optimize nonadmin and nonanon library list permiss...
Branch: refs/heads/release_18.01 Home: https://github.com/galaxyproject/galaxy Commit: 7457ce426f0563464dff2313249381afa9378f28 https://github.com/galaxyproject/galaxy/commit/7457ce426f0563464dff231324938... Author: Martin Cech <marten@bx.psu.edu> Date: 2018-02-14 (Wed, 14 Feb 2018) Changed paths: M lib/galaxy/managers/libraries.py M lib/galaxy/webapps/galaxy/api/libraries.py Log Message: ----------- optimize nonadmin and nonanon library list permission queries Before, the code would emit extra queries per each library to find out whether the current user has permissions on it. By pre-fetching all of them in one query and passing around as a dict object we should see a considerable speedup on Galaxies with many libraries. Commit: 296af58c3d3f6fdb19560f1c8ab58290c9742b8b https://github.com/galaxyproject/galaxy/commit/296af58c3d3f6fdb19560f1c8ab58... Author: John Chilton <jmchilton@gmail.com> Date: 2018-02-15 (Thu, 15 Feb 2018) Changed paths: M lib/galaxy/managers/libraries.py M lib/galaxy/webapps/galaxy/api/libraries.py Log Message: ----------- Merge pull request #5542 from martenson/optimize-nonadmin-nonanon-datalibs [18.01] optimize nonadmin and nonanon library list permission queries Compare: https://github.com/galaxyproject/galaxy/compare/c20b68a5dd92...296af58c3d3f
participants (1)
-
GitHub