Comment 7 for bug 1455589

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/185155
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=ca32acbecea28f3674ac59738d74966ed406f465
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: #1455589
    Change-Id: I8c2f1fa9114dbf68ad4a5f99dd3929b6958b5d7a