Don't broadcast to the other peers when we serialize().
Serialize() is called from updateValue() when the value is
Streamable, and updateValue() already broadcasts.

I'm pretty sure this is correct, but there may be an edge
case I'm not aware of. Keep a sharp eye out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6750 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2011-12-01 21:37:38 +00:00
parent 418ebec455
commit cadea4afb9
@@ -105,13 +105,6 @@ public class PeeredDatabaseConfigRegistry extends DatabaseConfigRegistry
fieldUpdated(name, value);
}
@Override // from ObjectRecord
protected void serialize (String name, String key, Object value)
{
super.serialize(name, key, value);
fieldUpdated(name, value);
}
protected void fieldUpdated (String field, Object value)
{
// broadcast to the other nodes that this value has changed