-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: PhotoSync is performed on a dedicated UploadQueue #1471
Conversation
8f4d3db
to
b4aa0ee
Compare
kDriveCore/Data/Upload/Servicies/UploadService/UploadService.swift
Outdated
Show resolved
Hide resolved
kDriveCore/Data/Upload/Servicies/UploadService/UploadService.swift
Outdated
Show resolved
Hide resolved
kDriveCore/Data/Upload/Servicies/UploadService/UploadService.swift
Outdated
Show resolved
Hide resolved
40989d9
to
5e164fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a self review, tested this, at this point it works fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's the UploadFile's responsability to choose the queue where it belongs.
The UploadService already knows the queues and should have the logic.
Something like queueFor(uploadFile: UploadFile) -> UploadQueueable
What do you think about it?
kDriveCore/Data/Upload/Servicies/UploadService/UploadService.swift
Outdated
Show resolved
Hide resolved
@PhilippeWeidmann In the spirit of the current codebase, having this as a decoration of Yeah I agree with you, since you want it I'll make sure to do it 👍 |
5e164fd
to
9c276f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mergeable once dependencies are also merged 👍
877a325
to
f2604f5
Compare
This PR/issue depends on: |
1 similar comment
This PR/issue depends on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a last test with the final branch. LGTM 👍
…uld break all the current code
…load parallelism algo per queue
…a parallelism value outside of the DI queue
…tside the DI queue
…er filter function
…d to clean a Sonar warning
…plexity and a Sonar warning
… a dedicated queue
3e24922
to
fe6ad03
Compare
|
Necessary changes in the
UploadService
to enable a dedicatedUploadQueue
for photoSync.Depends on #1478
Depends on #1472