moltam89/liferay-portal — pull request #54 by akosthurzo (2013-02-21 17:47:28+00:00)
Title: [TECH SUPPORT] LPS-33193 LayoutLocalServiceImpl.updatePriority performance issue when parent layout has lots of children layouts

Hi Tamás,

Resolution
1. Update only those pages that have been changed
2. Instead of updating the the records one by one, use a bulk approach (shift the priorities using one single DML statement)

Please review my changes.

Thanks,
Ákos