|
pool()->addDrainedCallback([this]() -> void { |
I couldn't tell whether the crash happened when the callback was being added or when it actually ran.
I was using 50-100 concurrency and around 1000 RPS per worker, and an inline RequestSource. These conditions may or may not be necessary. My impression is that it crashed about half the time.
A workaround is to simply comment out the drained callback and fall back on the 5 second timer, at the cost of 5 seconds per benchmark.
nighthawk/source/client/benchmark_client_impl.cc
Line 117 in e02ea9e
I couldn't tell whether the crash happened when the callback was being added or when it actually ran.
I was using 50-100 concurrency and around 1000 RPS per worker, and an inline
RequestSource. These conditions may or may not be necessary. My impression is that it crashed about half the time.A workaround is to simply comment out the drained callback and fall back on the 5 second timer, at the cost of 5 seconds per benchmark.