Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track queues map in FileQueue service #787

Merged
merged 2 commits into from
May 24, 2022
Merged

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented May 21, 2022

As pointed out in #773

To display all uploading files in queues it would be nice to make the Map a TrackedMap.

Since this property wasn't tracked some of the public API of the FileQueue service was not reactive.

Have implemented with the suggestion by @jelhan to

introduce an untracked map to check existence of a queue without reading the tracked map of queues.

Includes a regression test which fails without using TrackedMap.

Maintain an identical untracked map for checking if a queue already exists.
@gilest gilest added the bug label May 21, 2022
@gilest gilest requested a review from jelhan May 21, 2022 03:38
@gilest
Copy link
Collaborator Author

gilest commented May 21, 2022

@kennstenicht how does this look?

@gilest gilest mentioned this pull request May 21, 2022
@gilest gilest removed the request for review from jelhan May 24, 2022 01:19
@gilest gilest merged commit 08d9fe6 into master May 24, 2022
@gilest gilest deleted the fix/file-queue-tracked-queues branch May 24, 2022 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant