Skip to content

Commit

Permalink
Parallel_logging: Disable reliable_transfer for dynamic ADD_LOGGED_MSG
Browse files Browse the repository at this point in the history
  • Loading branch information
jnippula committed Oct 12, 2023
1 parent 4f87fc9 commit 0f4daa1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/modules/logger/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1922,11 +1922,7 @@ void Logger::write_add_logged_msg(LogType type, LoggerSubscription &subscription

bool prev_reliable = _writer.need_reliable_transfer();
_writer.set_need_reliable_transfer(true);
#ifdef LOGGER_PARALLEL_LOGGING
write_message(type, &msg, msg_size, true);
#else
write_message(type, &msg, msg_size);
#endif
write_message(type, &msg, msg_size, acked);
_writer.set_need_reliable_transfer(prev_reliable);
}

Expand Down

0 comments on commit 0f4daa1

Please sign in to comment.