-
- Downloads
Performance: Update delegate_section_permissions() to use SQL transactions.
Delegating permissions will inspect each subnet within the section. For each subnet (1000's+) the subnet permissions are updated, the users last activity time updated and informational + change log records are generated. SQL transactions ensure the associated table indexes are updated only once at the final commit() instead of at every record update/insert. This also prevents a partial application of requested changes. delegate_section_permissions(), section containing ~8000 subnets. 105 seconds -> 7 seconds.
Loading
Please register or sign in to comment