commit a7484244eb2a3f8110b80a279ad656cc3ba8d445
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.
Cherry-picked from heat ca32acbecea28f3674ac59738d74966ed406f465
Closes-Bug: #1455589
Change-Id: I8c2f1fa9114dbf68ad4a5f99dd3929b6958b5d7a
Reviewed: https:/ /review. openstack. org/192466 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=a7484244eb2 a3f8110b80a279a d656cc3ba8d445
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit a7484244eb2a3f8 110b80a279ad656 cc3ba8d445
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.
Cherry-picked from heat ca32acbecea28f3 674ac59738d7496 6ed406f465 68ad4a5f99dd392 9b6958b5d7a
Closes-Bug: #1455589
Change-Id: I8c2f1fa9114dbf