Open Connoropolous opened 5 years ago
In this section, under a new article called "Signals"? https://developer.holochain.org/guide/latest/production_conductor.html
This has been updated and is now https://github.com/holochain/holochain-rust/blob/1f746880eab10fd0d382fbabbdc80eb801c9e75d/conductor_api/src/config.rs#L81-L84 and https://github.com/holochain/holochain-rust/blob/1f746880eab10fd0d382fbabbdc80eb801c9e75d/conductor_api/src/config.rs#L588-L593
It still needs to be added to the Guidebook
Looks like it may be best to add it to this article: https://developer.holochain.org/guide/latest/zome/emitting_signals.html?highlight=signal#emitting-signals
I have a draft but I don't know how to explain the consistency field:
There is also an ability to expose (or not expose) trace signals with the following:
/// Which signals to emit
#[serde(default)]
pub signals: SignalConfig,
/// Configure which signals to emit, to reduce unwanted signal volume
#[derive(Deserialize, Serialize, Clone, Debug, Default, PartialEq)]
pub struct SignalConfig {
pub trace: bool,
pub consistency: bool,
}
I guess that the consistency field just set whether or not signals are asynchronously consistent across peers in the network. However, I also am guessing that this will be updated with the guidebook / documentation revamp.
This was introduced recently and I didn't know about it. Let's add it to the guide to the Conductor configuration
https://github.com/holochain/holochain-rust/blob/2bfdf915c112afadf43fa0223eaacdfd9f5f2fb0/conductor_api/src/config.rs#L81-L83