Allow plugins to choose when their tick event is next called

This commit is contained in:
Roger A. Light
2025-06-04 10:25:02 +01:00
committed by Roger Light
parent 8134ec5528
commit 0c0683094b
20 changed files with 214 additions and 23 deletions

View File

@@ -139,6 +139,9 @@ Plugins / plugin interface:
subscribe/unsubscribes actually succeed. Allow modifying topic and qos.
- Add `mosquitto_persistence_location()` for plugins to use to find a valid
location for storing persistent data.
- Plugins can now use the next_s and next_ms members of the tick event data
struct to set a minimum interval that the broker will wait before calling the
tick callback again.
Client library:
- Add MOSQ_OPT_DISABLE_SOCKETPAIR to allow the disabling of the socketpair