Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

[NOTE] Workers #28

Description

@derhofbauer
  • FilesystemStorageWorker creates local file list and keeps it up to date, emmits events on changes
  • CloudStorageWorker creates Server file list and keeps it up to date, emmits events on changes; has a .go() method and provides a ready event 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 the CloudStorageWorker.go() method. That way it's impossible that MergeWorker misses to start.
  • MergeWorker listens to both other workers events and decides what to do, queues these jobs for upload and download workers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions