Optimize big message publishing, fix unreferenced publishes

This commit is contained in:
root
2021-09-28 23:22:38 +00:00
parent 814a7ee53e
commit 0ede7e5d8e
6 changed files with 68 additions and 17 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ private:
public:
/* This one points to the App's shared topicTree */
TopicTree<TopicTreeMessage> *topicTree;
TopicTree<TopicTreeMessage, TopicTreeBigMessage> *topicTree;
/* The callbacks for this context */
MoveOnlyFunction<void(WebSocket<SSL, true, USERDATA> *)> openHandler = nullptr;
@@ -85,7 +85,7 @@ public:
}
WebSocketContextData(TopicTree<TopicTreeMessage> *topicTree) : topicTree(topicTree) {
WebSocketContextData(TopicTree<TopicTreeMessage, TopicTreeBigMessage> *topicTree) : topicTree(topicTree) {
}
};