How to make all participant nodes synchronize data when uploading Dar files
App Development5 posts235 views4 likesLast activity Jul 2022
SK
skylornaOP
Jul 2022When I used the command “participants.all.dars.upload()” to upload Dar files on participant1, participant2 did not upload synchronously. Is there a relevant command that allows all nodes to upload files at the same time
NE
nemanja
Jul 2022Hi @skylorna ![]()
As far as I know this is still a manual process and you need to upload dar file per participant.
SK
skylorna
Jul 2022thank you
CO
cocreature
Jul 2022There are convenience commands to make that easier though, in particular participants.all:
participants.all.foreach(_.dars.upload("my.dar"))
or
participants.local.dars.upload("my.dar")
SK
skylorna
Jul 2022thank you