aboutsummaryrefslogtreecommitdiff
path: root/src/common/Metric/Metric.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-08-25 10:40:47 +0200
committerShauren <shauren.trinity@gmail.com>2023-08-25 10:40:47 +0200
commitb51afbdfb975b676cb885fc4f3559944f99df030 (patch)
treee2f04b4f5642917d8f8e21110bd6d8ac3c73836d /src/common/Metric/Metric.cpp
parent30f57de184fb96dfb6c548201e7717fa293682e1 (diff)
Core/Logging: Fixed log message order not being preserved when async logging was enabled and ThreadPool was greater than 1
Despite that issue, logging was still threadsafe, just not ordered properly
Diffstat (limited to 'src/common/Metric/Metric.cpp')
-rw-r--r--src/common/Metric/Metric.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Metric/Metric.cpp b/src/common/Metric/Metric.cpp
index 7cd4f56fba5..0dc8e11ae80 100644
--- a/src/common/Metric/Metric.cpp
+++ b/src/common/Metric/Metric.cpp
@@ -18,8 +18,8 @@
#include "Metric.h"
#include "Config.h"
#include "DeadlineTimer.h"
+#include "IoContext.h"
#include "Log.h"
-#include "Strand.h"
#include "Util.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/asio/ip/tcp.hpp>