Reviewed: https://review.openstack.org/25399 Committed: http://github.com/openstack/nova/commit/e54700528a1cb3ead26eb0f2d1c1d0932885f07e Submitter: Jenkins Branch: milestone-proposed
commit e54700528a1cb3ead26eb0f2d1c1d0932885f07e Author: Vishvananda Ishaya <email address hidden> Date: Tue Mar 19 17:56:30 2013 -0700
Add caching for ec2 mapping ids.
Requests to map ec2 ids can be slow when there are a large number of instances. These shouldn't ever change so cache them in memory for a week. The one week timeout is simply to prevent memory from growing uncontrollably.
Fixes bug 1157437
Change-Id: I3f1c68959a933a7aaa50f122c34a716264c8722d (cherry picked from commit 76844433f69a7c29ed4566ad34d7e9740feaf660)
Reviewed: https:/ /review. openstack. org/25399 github. com/openstack/ nova/commit/ e54700528a1cb3e ad26eb0f2d1c1d0 932885f07e
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit e54700528a1cb3e ad26eb0f2d1c1d0 932885f07e
Author: Vishvananda Ishaya <email address hidden>
Date: Tue Mar 19 17:56:30 2013 -0700
Add caching for ec2 mapping ids.
Requests to map ec2 ids can be slow when there are a large number
of instances. These shouldn't ever change so cache them in memory
for a week. The one week timeout is simply to prevent memory from
growing uncontrollably.
Fixes bug 1157437
Change-Id: I3f1c68959a933a 7aaa50f122c34a7 16264c8722d 9ed4566ad34d7e9 740feaf660)
(cherry picked from commit 76844433f69a7c2