Parent: 7de0eb5686223e8f8ba80984973a08a2781d3650
Author: MichaĆ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-08-08 22:17:37
Tree: f4371349b89f4fc0ffe72a9a4ded6436d4ef91f8
mesh: Move sequence number overcommit to mesh-config-json This confines sequence overcommit logic in mesh-config-json, as other storages might use a different mechanism to ensure reliability. Also, refactored logic to calculate overcommit value to avoid division by zero when messages are sent too fast.
Diffstat
| M | mesh/mesh-config-json.c | | | 70 | ++++++++++++++++++++++++++++++++++++++++- - - |
| M | mesh/mesh-config.h | | | 3 | ++- |
| M | mesh/net.c | | | 18 | ++++- - - - - - - - - - - - - - |
| M | mesh/node.c | | | 56 | +++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/node.h | | | 6 | - - - - - - |
5 files changed, 78 insertions(+), 75 deletions(-)