tweak the example comment
This commit is contained in:
parent
8a31269f45
commit
9b9cba4c47
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ impl Node for SingleNodeBroadcast {
|
|||
"broadcast" => {
|
||||
let val = req.body.payload.get("message").unwrap().as_i64().unwrap();
|
||||
self.store.insert(val);
|
||||
// maybe before replying with "broadcast_ok" maybe consider telling your neighbors
|
||||
// about what you heard? maybe?
|
||||
// idunno, maybe consider telling your neighbors about what you heard? maybe? maybe
|
||||
// every once in a while?
|
||||
runner.reply(&req, Body::from_type("broadcast_ok"));
|
||||
}
|
||||
"read" => {
|
||||
|
|
Loading…
Reference in a new issue