ben-z / Silent-Sync

Automatically takes care of the file syncing while you work.
https://atom.io/packages/silent-sync
Other
8 stars 0 forks source link

Do not start multiple rsync processes #15

Closed eigan closed 6 years ago

eigan commented 9 years ago

When there is lots of changes (git operations), many rsync processes seems to start.

eigan commented 9 years ago

as a tmp fix for anyone else having this issue:

Add this at top of upload: () method

    if @state.status == 'Syncing'
      return

This is not a good solution since it will prevent syncing all files (if you save multiple times fast etc). There should be a queue system of some sort, I think.