added swift_source to ratelimit info calls
Change-Id: I2b4ccb809c0f4505098e261f546f53c27440dd43
This commit is contained in:
parent
9196c31f64
commit
7acc291129
@ -101,6 +101,7 @@ TA :ref:`common_tempauth`
|
||||
DLO :ref:`dynamic-large-objects`
|
||||
LE :ref:`list_endpoints`
|
||||
KS :ref:`keystoneauth`
|
||||
RL :ref:`ratelimit`
|
||||
======================= =============================
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
.. _ratelimit:
|
||||
|
||||
=============
|
||||
Rate Limiting
|
||||
=============
|
||||
|
@ -232,7 +232,8 @@ class RateLimitMiddleware(object):
|
||||
return None
|
||||
|
||||
try:
|
||||
account_info = get_account_info(req.environ, self.app)
|
||||
account_info = get_account_info(req.environ, self.app,
|
||||
swift_source='RL')
|
||||
account_global_ratelimit = \
|
||||
account_info.get('sysmeta', {}).get('global-write-ratelimit')
|
||||
except ValueError:
|
||||
|
Loading…
Reference in New Issue
Block a user