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 to correct cache to obtain version info #1015

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Sep 6, 2020

  • The documentservice writes to the text prefix. Not the textSession
    prefix. Hence we never found any of the cache entries. Thus always
    doing all the work.

@rullzer rullzer added enhancement New feature or request 3. to review labels Sep 6, 2020
@rullzer rullzer added this to the Nextcloud 20 milestone Sep 6, 2020
@rullzer
Copy link
Member Author

rullzer commented Sep 6, 2020

ok. so this actually does boom...

@rullzer
Copy link
Member Author

rullzer commented Sep 6, 2020

@juliushaertl I guess we either need to improve the caching logic or rip it out in this case. Because right now it does nothing ;)

@rullzer rullzer mentioned this pull request Sep 8, 2020
13 tasks
@rullzer rullzer removed this from the Nextcloud 20 milestone Sep 8, 2020
@juliushaertl juliushaertl self-assigned this Nov 17, 2020
@juliushaertl juliushaertl added this to the Nextcloud 21 milestone Nov 17, 2020
@juliushaertl
Copy link
Member

I moved the cache handling entirely to the DocumentService now as there is no need to have that in two places. It was basically broken because we returned to early and missed the document and session information.

@juliushaertl
Copy link
Member

Doesn't save much indeed, but also doesn't hurt to have a cache for that case.

* The documentservice writes to the text prefix. Not the textSession
  prefix. Hence we never found any of the cache entries. Thus always
  doing all the work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@juliushaertl juliushaertl merged commit 5b9d41e into master Dec 17, 2020
@juliushaertl juliushaertl deleted the fix/use_correct_cache branch December 17, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants