Skip to content

Commit

Permalink
Update note in flashmq_plugin.h
Browse files Browse the repository at this point in the history
  • Loading branch information
halfgaar committed May 30, 2024
1 parent 77df63c commit 5b7a6d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flashmq_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ bool flashmq_plugin_alter_subscription(void *thread_data, const std::string &cli
* @brief flashmq_plugin_alter_publish allows changing of the non-const arguments.
* @param thread_data is memory allocated in flashmq_plugin_allocate_thread_memory().
* @return boolean indicating whether the packet was changed. It saves FlashMQ from having to do a full compare. Not returning the truth here
* results in unpredictable behavior.
* results in unpredictable behavior. Note: this only applies to the topic, because FlashMQ has to know whether to resplit
* the topic string. You can change other flags and still return false.
*
* Be aware that changing publishes may incur a (slight) reduction in performance.
*
Expand Down

0 comments on commit 5b7a6d8

Please sign in to comment.