Skip to content

Commit

Permalink
feat(websocket): publish dataset save events to websocket event conne…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
b5 committed Dec 9, 2020
1 parent afcb2f8 commit 378e922
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,18 @@ func (inst *Instance) ServeWebsocket(ctx context.Context) {
event.ETDeletedFile,
event.ETRenamedFolder,
event.ETRemovedFolder,

event.ETRemoteClientPushVersionProgress,
event.ETRemoteClientPushVersionCompleted,
event.ETRemoteClientPushDatasetCompleted,
event.ETRemoteClientPullVersionProgress,
event.ETRemoteClientPullVersionCompleted,
event.ETRemoteClientPullDatasetCompleted,
event.ETRemoteClientRemoveDatasetCompleted,

event.ETDatasetSaveStarted,
event.ETDatasetSaveProgress,
event.ETDatasetSaveCompleted,
)

// Start http server for websocket.
Expand Down

0 comments on commit 378e922

Please sign in to comment.