Reviewed: https://review.openstack.org/71537 Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=67864735a86c8b3fed5d0c27f51760bfb6f458bd Submitter: Jenkins Branch: master
commit 67864735a86c8b3fed5d0c27f51760bfb6f458bd Author: liyingjun <email address hidden> Date: Wed Jan 15 01:11:29 2014 +0800
Merge same db calls for some quota methods
self.db.quota_get_all_by_project is called twice in method limit_check() and reserve(), self.db.quota_get_all_by_project_and_user is called twice in method get_settable_quotas()
Change-Id: Ibe41f49afe16c220ca663a7ad13b61acc08c7775 Closes-bug: 1277068
Reviewed: https:/ /review. openstack. org/71537 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=67864735a86 c8b3fed5d0c27f5 1760bfb6f458bd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 67864735a86c8b3 fed5d0c27f51760 bfb6f458bd
Author: liyingjun <email address hidden>
Date: Wed Jan 15 01:11:29 2014 +0800
Merge same db calls for some quota methods
self. db.quota_ get_all_ by_project is called twice in method limit_check() db.quota_ get_all_ by_project_ and_user is called twice in method settable_ quotas( )
and reserve(),
self.
get_
Change-Id: Ibe41f49afe16c2 20ca663a7ad13b6 1acc08c7775
Closes-bug: 1277068