insanum / sncli

Simplenote CLI
MIT License
397 stars 34 forks source link

separate sync worker #95

Open drselump14 opened 5 years ago

drselump14 commented 5 years ago

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?

samuelallan72 commented 5 years ago

@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:

drewauff commented 3 years ago

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.