Don't send command output too fast. 5.0.1 eel/5.0.1 eel_5.0.1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 26 Jan 2018 16:19:13 +0000 (17:19 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 26 Jan 2018 16:19:13 +0000 (17:19 +0100)
commit60a59bcfdb3c2404a468cc314b7afde85ee35e1b
tree987589f2159cfe0335b8c2e70e05cb05e7d4f201
parentdcdee5e2aa05ec07e7e750bea4faad63bce7b668
Don't send command output too fast.

Changes done in eows package of xds-common now allow to accumulate command output during a period
of time (eg. 500ms) or up to the end of a line.
Usage of this feature is mandatory to avoid to post to
much buffers in websocket and consequently flood client (eg. web-browser)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/xdsserver/sdk.go