Merge "In benchmark observer worker, include claimed messages when listing"
This commit is contained in:
commit
89ee4ce263
@ -70,7 +70,8 @@ def observer(queues, stats, test_duration, limit):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
marktime.start('list_messages')
|
marktime.start('list_messages')
|
||||||
cursor = queue['q'].messages(limit=limit, marker=queue['m'])
|
cursor = queue['q'].messages(limit=limit, marker=queue['m'],
|
||||||
|
include_claimed=True)
|
||||||
total_elapsed += marktime.stop('list_messages').seconds
|
total_elapsed += marktime.stop('list_messages').seconds
|
||||||
total_succeeded += 1
|
total_succeeded += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user