smartrent / jackalope

An opinionated MQTT client library based on Tortoise MQTT
Apache License 2.0
28 stars 5 forks source link

Persisting worklist using CubQ #46

Open jfcloutier opened 2 years ago

jfcloutier commented 2 years ago

Support pluggable implementations of a work list, one transient (the default) and the other persistent (via CubQ).

jfcloutier commented 2 years ago

Protocol is now used instead of behaviour for "pluggable work list". The persistent work list stores system monotonic time every 10 minutes and on terminate. Expiration is now simply a monotonic time. In the tests, Jackalope is now started supervised and is no longer explicitly stopped.