diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-19 17:56:30 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-19 20:43:04 -0700 |
| commit | 76844433f69a7c29ed4566ad34d7e9740feaf660 (patch) | |
| tree | bc2ea93b85aaeea895d775a77eceffc6b086c001 /nova/openstack | |
| parent | 18b235867e4c348fb18ff3a6242edc9923b640c1 (diff) | |
| download | nova-76844433f69a7c29ed4566ad34d7e9740feaf660.tar.gz nova-76844433f69a7c29ed4566ad34d7e9740feaf660.tar.xz nova-76844433f69a7c29ed4566ad34d7e9740feaf660.zip | |
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
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
