mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore: Add names to fibers that were missing them (#1667)
This commit is contained in:
parent
16e512c60d
commit
4001a94b22
8 changed files with 20 additions and 17 deletions
|
@ -9,7 +9,7 @@ using namespace util;
|
|||
|
||||
void JournalStreamer::Start(io::Sink* dest) {
|
||||
using namespace journal;
|
||||
write_fb_ = MakeFiber(&JournalStreamer::WriterFb, this, dest);
|
||||
write_fb_ = fb2::Fiber("journal_stream", &JournalStreamer::WriterFb, this, dest);
|
||||
journal_cb_id_ = journal_->RegisterOnChange([this](const Entry& entry, bool allow_await) {
|
||||
if (entry.opcode == Op::NOOP) {
|
||||
// No recode to write, just await if data was written so consumer will read the data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue