Skip to content

Shared storage optimizations - #22867

Merged
rullzer merged 2 commits into
masterfrom
shared-storage-init-less
Sep 17, 2020
Merged

Shared storage optimizations#22867
rullzer merged 2 commits into
masterfrom
shared-storage-init-less

Conversation

@icewind1991

Copy link
Copy Markdown
Member
  • Don't check for updates for shared storages, let the source storage deal with that
  • Optimize instanceOfStorage('\OCP\Files\IHomeStorage')
  • Optimize initializing source storage

update checking is already handled by the share source
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991icewind1991 added the 3. to review Waiting for reviews label Sep 15, 2020
@icewind1991icewind1991 added this to the Nextcloud 20 milestone Sep 15, 2020
@MorrisJobke

Copy link
Copy Markdown
Member

Mind to fix the unit tests and the code style complaints?

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
icewind1991force-pushed the shared-storage-init-less branch from 210726a to cfde744CompareSeptember 16, 2020 11:49
@nextcloudnextcloud deleted a comment from faily-botBotSep 16, 2020
@icewind1991

Copy link
Copy Markdown
MemberAuthor

done

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, tested and works 👍

@MorrisJobkeMorrisJobke mentioned this pull request Sep 16, 2020
5 tasks
@rullzer
rullzer merged commit b0c04a3 into masterSep 17, 2020
@rullzer
rullzer deleted the shared-storage-init-less branch September 17, 2020 06:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@icewind1991@MorrisJobke@rullzer