Wait folder insync before sending exit event.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Sat, 27 May 2017 21:10:33 +0000 (23:10 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Sat, 27 May 2017 21:10:33 +0000 (23:10 +0200)
commit330cffa06c3efea42a42ca8e908b8b24db6bba3f
tree84e444d3ab66a1b8334c9c94f853a384ae34de84
parent0805255ee01103c500f2aae8845850b3dae6a0b6
Wait folder insync before sending exit event.

By default wait folder insync.
Set ExitImmediate param to true to send exit event immedialty without waiting folder synchronization.
lib/apiv1/exec.go
lib/apiv1/make.go
lib/common/execPipeWs.go
lib/model/folder.go
lib/syncthing/st.go