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

Disable External storage scan from OCA\Files\BackgroundJob\ScanFiles #32230

Closed
gaalos opened this issue May 1, 2022 · 3 comments
Closed

Disable External storage scan from OCA\Files\BackgroundJob\ScanFiles #32230

gaalos opened this issue May 1, 2022 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement needs info stale Ticket or PR with no recent activity

Comments

@gaalos
Copy link

gaalos commented May 1, 2022

Hi,
Could be efficient.
Because in the case of a CIFS storage, the scan adds 1 line per file found and this per user.
I think external storage scanning is used to improve display speed.
But it could be interesting to disable the scan for external storages
Best regards

@gaalos gaalos added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels May 1, 2022
@kesselb
Copy link
Contributor

kesselb commented May 1, 2022

Because in the case of a CIFS storage, the scan adds 1 line per file found and this per user.

If you mount something with user credentials that's how it's supposed to be. Afaik there are no plans to change that.

But it could be interesting to disable the scan for external storages

But files are not "announced" to Nextcloud then and users are unable to see them.

Some additional reading:

#15033
#16834
#31067
#21049

@gaalos
Copy link
Author

gaalos commented May 1, 2022

hi @kesselb thx for your reply
When user open external forlder Nextcloud is not sending smb/cifs request to read it in real time ?

@nextcloud-command
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@nextcloud-command nextcloud-command added the stale Ticket or PR with no recent activity label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

3 participants