Commit Graph

28 Commits (a791532c12b576942edc43beefdd24c9b7c9409b)

Author SHA1 Message Date
Roger A. Light a791532c12 Simplify $SYS metric generation. 3 years ago
Roger A. Light 331e802913 Rename mosquitto_client_msg -> mosquitto__client_msg 3 years ago
Roger A. Light 3634f18bc9 Refactor subscription structs 3 years ago
Roger A. Light 2e36d523c8 Rename mosquitto_base_msg -> mosquitto__base_msg 3 years ago
Roger A. Light fa08918b48 Don't recompile objects for tests (in Makefile tests) 3 years ago
Roger A. Light 4997b40259 Report persistence stats when starting. 3 years ago
Roger A. Light fd68bf00c7 Merge branch 'master' into develop 3 years ago
Roger A. Light 3e1cf8a80b Fix tests build. 3 years ago
Roger A. Light b4a0255f1c Process retain persist events only every 10 seconds. 4 years ago
Roger A. Light cbb01193a0 Rename persist retain_add to retain_set 4 years ago
Roger A. Light 2d3b152a22 Rename of mosquitto_msg_store struct.
struct mosquitto_msg_store -> struct mosquitto_base_msg

This is the base message which client messages and retained messages
refer to. The base messages are still held in the message store.

This change comes about because the persistence interface exposes these
message types. Prior to this commit the different messages were "msg",
"client_msg", and "retain". After this commit there is "base_msg",
"client_msg", and and "retain_msg" in the persist interface.
4 years ago
Roger A. Light 6e8925c062 Test fix. 4 years ago
Roger A. Light 0f8733627a Plugin persistence interface. 4 years ago
Roger A. Light 0d0a36906c Add missing stubs. 4 years ago
Roger A. Light a1288721ce Fix tests 4 years ago
Roger A. Light b9b065d2cc Compiler pedantry, and more checks in tests. 4 years ago
Roger A. Light f90e55bd36 Reduce memory allocations when sending packets. 4 years ago
Roger A. Light 906a515704 Simplify client message properties, only one is used. 4 years ago
Roger Light 0eb7391e71 Fix tests and db_dump compilation. 4 years ago
Roger A. Light 8a03b5ad5c Function for checking if a context is connected. 4 years ago
Roger Light fecf550cad Fix test. 5 years ago
Roger A. Light 706a1f3f29 Fix more minor compiler warnings. 5 years ago
Roger A. Light b816d46508 Use db as a global var instead of passing to functions.
This allows a big swath of ifdefs to be removed. It also means savings as the db var is not passed around all of the time, and makes it easier to remove the final broker call to mosquitto_time() call in packet_mosq.c. In one test this reduced the calls to mosquitto_time() from 295k to 48k.
5 years ago
Roger A. Light 4f61f6c161 Fix conversion errors. 5 years ago
Roger A. Light e3e8dc4ea4 Allow send__pub{ack,rec,rel,comp} to send properties. 5 years ago
Roger Light d92360dd8e Split sub and retain trees. 6 years ago
Roger A. Light 48253bc12c Persist message store publish properties. 7 years ago
Roger A. Light 7a53b28080 Start of persistence writing tests. 7 years ago