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

add stat cache to sharesstorageprovider #3940

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jun 6, 2023

After disabling the cache in the gateway we added a statcache to the sharesstorageprovider to make the share jail more efficient.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic force-pushed the sharesstorageprovidercache branch from 0047cdc to 29ff1a4 Compare June 6, 2023 14:04
Copy link
Contributor

@dragotin dragotin left a comment

Choose a reason for hiding this comment

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

Seems good

c.StatCache.Store = "noop"
}
if c.StatCache.TTL == 0 {
c.StatCache.TTL = 30 // 30sec is the default desktop client poll interval
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is the desktop client poll interval important here?

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

Successfully merging this pull request may close these issues.

3 participants