sncli icon indicating copy to clipboard operation
sncli copied to clipboard

separate sync worker

Open drselump14 opened this issue 6 years ago • 2 comments

Hello, thank you for making one of superb cli tools. However, the syncing process is very slow and sometimes stopping my workflow. I think it's better to separate the sync in different process so it won't block the workflow.

How do you think?

drselump14 avatar Sep 16 '19 22:09 drselump14

@drselump14 This would be great, though I would imagine would involve a lot of work. Thanks for the suggestion! :smile: I won't have time to look into something like this for a while though. To anyone reading this, if you have a proposal for how this could be done without causing data races or totally changing the architecture of the app, we'd love to hear it. :smile:

samuelallan72 avatar Sep 16 '19 23:09 samuelallan72

maybe setup a cron job for sync and use the --nosync switch to launch, I set mine for syncing every 5 mins..a bit overkill but it gets the job done.

drewauff avatar Dec 16 '20 03:12 drewauff