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

Use updated etag of home directory even if it is cached #1416

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

ishank011
Copy link
Contributor

No description provided.

@ishank011 ishank011 requested review from butonic, labkode and refs January 21, 2021 11:20
if etagIface, err := s.etagCache.Get(statRes.Info.Owner.OpaqueId + ":" + statRes.Info.Path); err == nil {
resMtime := utils.TSToTime(statRes.Info.Mtime)
resEtag := etagIface.(etagWithTS)
// Use the updated etag if the home folder has been modified
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@butonic butonic left a comment

Choose a reason for hiding this comment

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

cool!

@ishank011 ishank011 merged commit 44870ec into cs3org:master Jan 21, 2021
@ishank011 ishank011 deleted the etag-cache-fix branch January 21, 2021 14:43
@ishank011 ishank011 restored the etag-cache-fix branch January 21, 2021 14:43
@ishank011 ishank011 deleted the etag-cache-fix branch January 21, 2021 14:43
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.

2 participants