From 58e3540930d290b315fd24d0414c8feeb7bc8bc1 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期日, 25 四月 2021 10:15:43 +0800 Subject: [PATCH] query topic add dest param. --- src/failed_msg.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/failed_msg.h b/src/failed_msg.h index 2d57abc..8a810c7 100644 --- a/src/failed_msg.h +++ b/src/failed_msg.h @@ -23,6 +23,7 @@ #include "timed_queue.h" #include <string> +//TODO change storage to map<Remote,list<TimedData<Msg>>>, to avoid retry failed remotes messages. class FailedMsgQ { typedef std::function<bool(void *)> Func; @@ -39,7 +40,7 @@ } private: - Func PrepareSender(const std::string &remote, Msg const &msg); + Func PrepareSender(const std::string &remote, Msg msg); TimedFuncQ queue_; }; -- Gitblit v1.8.0