-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
FilesystemStorageWorkercreates local file list and keeps it up to date, emmits events on changesCloudStorageWorkercreates Server file list and keeps it up to date, emmits events on changes; has a.go()method and provides areadyevent that is emmitted when the initial file list download has finished, right before starting to longpoll. We bind the merge worker.go()method to it and then run theCloudStorageWorker.go()method. That way it's impossible thatMergeWorkermisses to start.MergeWorkerlistens to both other workers events and decides what to do, queues these jobs for upload and download workers