Closed dzungpv closed 8 months ago
There's no immediate issue with this PR but it's better to base your PR on a fresh branch and not keep building on top of an already merged one.
No need to change this one. I can just squash merge.
With this PR, the priority is fixed on single core systems. So even if you set a custom priority, it is ignored. This is not good, regardless of the usefulness.
The core id detection code should be in the espMqttClient(Secure)
class and not in the underlying MqttClient
class so we can forward the correct chosen priority.
As alternative, we can set the default core to tskNO_AFFINITY
and we can skip the core selection as a whole.
More info: https://github.com/bertmelis/espMqttClient/discussions/138