Do not unnecessarily send whole ack
This commit is contained in:
parent
773d6f5e22
commit
c055c2fc03
1 changed files with 3 additions and 1 deletions
|
|
@ -179,7 +179,9 @@ const handleMsg = msg => {
|
||||||
node.put(msg.data, ack => {
|
node.put(msg.data, ack => {
|
||||||
/** @type {Smith.GunMsgPut} */
|
/** @type {Smith.GunMsgPut} */
|
||||||
const reply = {
|
const reply = {
|
||||||
ack,
|
ack: {
|
||||||
|
err: ack.err
|
||||||
|
},
|
||||||
id: msg.id,
|
id: msg.id,
|
||||||
path: msg.path,
|
path: msg.path,
|
||||||
type: 'put'
|
type: 'put'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue