mtreinish / pymqttbench

A MQTT benchmarking tool
Apache License 2.0
5 stars 4 forks source link

qsize is a method... #2

Open wtflanders opened 3 years ago

wtflanders commented 3 years ago

just installed and ran your benchmark.... it worked great after I changed bench.py "qsize" on lines 229 and 233 to qsize(). Thanks.

mtreinish commented 3 years ago

Thanks for reporting, sorry for the slow response. I'm wondering if this is a python version thing, while I haven't used pymqttbench in some time, there was a period when I was actively using it to test my mqtt server configuration and it definitely worked. But, lookin at the docs for Queue it clearly is a method. Do you want to push a PR to fix this, if not I can. Then I'll get a bugfix release out right after.