summaryrefslogtreecommitdiffstats
path: root/nova/wsgi.py
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-10-30 18:03:29 -0500
committerGerrit Code Review <review@openstack.org>2012-10-31 15:07:54 +0000
commitdaf78cfb970af42242466c7edb082bdb7bbbb118 (patch)
tree7f5b1ef5b5a76095125724831142b6d0d56c6252 /nova/wsgi.py
parentefc291257fb8655ab57e77c57de23f15968af998 (diff)
downloadnova-daf78cfb970af42242466c7edb082bdb7bbbb118.tar.gz
nova-daf78cfb970af42242466c7edb082bdb7bbbb118.tar.xz
nova-daf78cfb970af42242466c7edb082bdb7bbbb118.zip
Add call to reset quota usage
There are certain circumstances where we may need to indicate an uncertainty in a user's current usage of a given resource, thus forcing a recount of those resources currently in use. This adds a QUOTAS.usage_reset() call which can be used to do this. It works by resetting the current usage to -1, which will force the usage record to be refreshed the next time that user reserves those resources. Change-Id: I4a40c8edcc78ed9a7d18a293d4d7d6418b04b7f2
Diffstat (limited to 'nova/wsgi.py')
0 files changed, 0 insertions, 0 deletions