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

gofs\server\handler\file_api_handler.go 優化建議 #357

Open
ckbabby opened this issue Jun 9, 2024 · 1 comment
Open

gofs\server\handler\file_api_handler.go 優化建議 #357

ckbabby opened this issue Jun 9, 2024 · 1 comment

Comments

@ckbabby
Copy link

ckbabby commented Jun 9, 2024

图片

@mstmdev
Copy link
Member

mstmdev commented Jun 11, 2024

是的,現時會遍歷目錄下的所有檔案,可以優化一下,對最大檔案數設定一個閾值,避免檔案過多的極端情况。
現時可以將need_hashneed_checkpoint都設為0來跳過該操作。
詳見File Query API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants