Merge "Fix a couple typos to make it easier to read."
This commit is contained in:
commit
e5417024c4
oslo_messaging
@ -668,7 +668,7 @@ class Connection(object):
|
||||
|
||||
def _consume():
|
||||
# NOTE(sileht):
|
||||
# maximun value choosen according the best practice from kombu:
|
||||
# maximum value chosen according the best practice from kombu:
|
||||
# http://kombu.readthedocs.org/en/latest/reference/kombu.common.html#kombu.common.eventloop
|
||||
poll_timeout = 1 if timeout is None else min(timeout, 1)
|
||||
|
||||
|
@ -61,7 +61,7 @@ class TimerTestCase(test_utils.BaseTestCase):
|
||||
remaining = t.check_return()
|
||||
self.assertEqual(None, remaining)
|
||||
|
||||
def test_no_duration_but_maximun(self):
|
||||
def test_no_duration_but_maximum(self):
|
||||
t = common.DecayingTimer()
|
||||
t.start()
|
||||
remaining = t.check_return(maximum=2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user