commit ca32acbecea28f3674ac59738d74966ed406f465
Author: Steve Baker <email address hidden>
Date: Fri May 22 14:39:54 2015 -0700
Switch total_resources to use stack_count_total_resources
This change uses database queries to count the total number of
resources in a nested stack tree instead of loading every stack
and every resource in that stack.
This should result in a significant improvement in memory use
for stacks with many nested stacks and resources.
Reviewed: https:/ /review. openstack. org/185155 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=ca32acbecea 28f3674ac59738d 74966ed406f465
Committed: https:/
Submitter: Jenkins
Branch: master
commit ca32acbecea28f3 674ac59738d7496 6ed406f465
Author: Steve Baker <email address hidden>
Date: Fri May 22 14:39:54 2015 -0700
Switch total_resources to use stack_count_ total_resources
This change uses database queries to count the total number of
resources in a nested stack tree instead of loading every stack
and every resource in that stack.
This should result in a significant improvement in memory use
for stacks with many nested stacks and resources.
Closes-Bug: #1455589 68ad4a5f99dd392 9b6958b5d7a
Change-Id: I8c2f1fa9114dbf