Commit 2aebc8fd authored by Dominik Charousset's avatar Dominik Charousset

Log slots in emit_batches to ease debugging

parent 00fba84a
...@@ -103,7 +103,8 @@ public: ...@@ -103,7 +103,8 @@ public:
template <class T> template <class T>
void emit_batches(local_actor* self, std::vector<T>& cache, void emit_batches(local_actor* self, std::vector<T>& cache,
bool force_underfull) { bool force_underfull) {
CAF_LOG_TRACE(CAF_ARG(cache) << CAF_ARG(force_underfull)); CAF_LOG_TRACE(CAF_ARG(slots) << CAF_ARG(open_credit) << CAF_ARG(cache)
<< CAF_ARG(force_underfull));
if (pending()) if (pending())
return; return;
CAF_ASSERT(desired_batch_size > 0); CAF_ASSERT(desired_batch_size > 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment