wasmCloud / lattice-observer

A reusable Elixir library for monitoring a lattice and deriving observed state
https://wasmcloud.com
Apache License 2.0
3 stars 2 forks source link

Added logic to remove decayed host resources #22

Closed brooksmtownsend closed 1 year ago

brooksmtownsend commented 2 years ago

Should be merged after #21 so the test suite runs

This PR adds a bit of logic to fully purge host resources from the lattice when a host decays through all decay states. Any host that re-joins the lattice will emit a heartbeat to restore these resources, but if it fades out of existence those actors and providers should be considered null and void