There's a way to change runtime config nowadays
... and I don't really think doing that automatically is a good thing anymore: most clusters are fixed size(ish), what changes is the visibility and liveness of their peers- I don't want parameters changing during a rolling restart nor during actual outages.
- Id
- d65a4901158c14d34b4cd2ac0aa83d5a965ab5dc
- Author
- Caio
- Commit time
- 2024-03-20T08:55:48+01:00
Modified README.md
using Foca to do a similar thing if desired.
* Its configuration parameters change based on (current) cluster
- size. It's super useful for a more plug-and-play experience, so
- I want introduce something along those lines in the future, likely
- by pulling `Config` into Foca as a trait implementation.
+ size. Users can make use of `Config::new_{lan,wan}` along with
+ `Foca::set_config` to achieve the same
# References