Skip to content

Commit

Permalink
always set sync_id
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-vk committed Jul 18, 2024
1 parent 75105a6 commit 0014e38
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion core/node/protocol/protocol.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/node/rpc/sync/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func (syncOp *StreamSyncOperation) Run(
return nil
}

msg.SyncId = syncOp.SyncID
if err = res.Send(msg); err != nil {
return err
}
Expand Down
1 change: 0 additions & 1 deletion protocol/protocol.proto
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ message SyncStreamsRequest {
// sync session.
message SyncStreamsResponse {
// sync_id is the id of the sync session.
// only set when sync_op = SYNC_NEW or SYNC_CLOSE
string sync_id = 1;
// sync_op marks the type of update.
SyncOp sync_op = 2;
Expand Down

0 comments on commit 0014e38

Please sign in to comment.