sociomantic-tsunami / swarm

Asynchronous client/node framework library
Boost Software License 1.0
14 stars 26 forks source link

Don't log stats for unused requests #358

Closed gavin-norman-sociomantic closed 6 years ago

gavin-norman-sociomantic commented 6 years ago

The client's stats logging method currently blindly logs stats for all requests. For more complex clients, with many requests, most applications only use a small subset of all requests. This leads to logging NaN stats for a lot of requests. It'd be nice to automatically (optionally) avoid logging these.