Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve flush-list search by avoiding skipping too many cache-keys.#120

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@EnTeQuAk
Copy link

@EnTeQuAkEnTeQuAk commentedJun 14, 2016
edited
Loading

As we're usingnew_keys to build upflush_keys andsearch_keys
we still might need the proper keys inobj_keys to avoid objects
not being invalidated properly.

There are some tests missing currently unfortunately but even without the patch the test-suite is failing for me locally so it's quite hard to reason about any particular changes. This should be straight forward enough though.

Let me know what you think :)

As we're using `new_keys` to build up `flush_keys` and `search_keys`we still might need the proper keys in `obj_keys` to avoid objectsnot being invalidated properly.
@EnTeQuAk
Copy link
Author

This essentially replaces#106

@coveralls
Copy link

coveralls commentedJun 14, 2016
edited
Loading

Coverage Status

Coverage remained the same at 93.629% when pullingb042da9 on EnTeQuAk:bugfix/key-expansion intob94ec75 on django-cache-machine:master.

@tobiasmcnulty
Copy link
Member

Hi@EnTeQuAk , my apologies for the delay on this. Is this still something you're interested in getting in? If so, could you rebase this onto master and add a test for the issue? The test suite should be passing now; if it's not for you, please let me know and I'll see what I can do to help.

@EnTeQuAk
Copy link
Author

Seeing this project being active again is nice! I'll try to remember what I did and add some tests throughout this week, thanks for the follow-up!

@tobiasmcnulty
Copy link
Member

Sounds good, thanks!

@dratchkov
Copy link

I looked at the change here vs what's in#106. I don't think this one is correct - should a flush key be hit twice, then it will end up in both the obj_keys and flush_keys. I think hitting the same flush key second time should result in a NOP, i.e. I did that by having a separate check:

if key in flush_keys:
continue

@tobiasmcnulty
Copy link
Member

Closing in favor of#127

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@EnTeQuAk@coveralls@tobiasmcnulty@dratchkov

[8]ページ先頭

©2009-2025 Movatter.jp