Skip to content

Commit

Permalink
Merge branch 'master' into fix-partition-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
patkivikram authored Jul 19, 2022
2 parents 156b636 + 1e9d4a5 commit 882c99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bench/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def produce(self, max_latency: float, max_messages: int, **kwargs):
time_start = monotonic()
time_1st = monotonic()

def on_published(meta):
def on_published(meta, time_1st=time_1st):
print(f"1ST OK: {meta} AFTER {monotonic() - time_1st}s")

callback = on_published
Expand Down

0 comments on commit 882c99a

Please sign in to comment.