Skip to content

clean(cache): remove unused checkNewCache parameter#368

Merged
ezolenko merged 1 commit into
ezolenko:masterfrom
agilgur5:clean-cache-unused-checkNewCache
Jun 29, 2022
Merged

clean(cache): remove unused checkNewCache parameter#368
ezolenko merged 1 commit into
ezolenko:masterfrom
agilgur5:clean-cache-unused-checkNewCache

Conversation

@agilgur5

Copy link
Copy Markdown
Collaborator

Summary

The checkNewCache parameter in RollingCache is always set to true, so remove it to simplify the code

Details

  • it is set to true in every usage, so just always check the new cache and remove the parameter entirely
    • rewrite the comments to reflect this change
      • and condense them a bit
    • modify tests a bit to reflect this change as well

- it is set to `true` in every usage, so just always check the new cache and remove the parameter entirely
  - rewrite the comments to reflect this change
    - and condense them a bit
  - modify tests a bit to reflect this change as well
@agilgur5 agilgur5 added kind: internal Changes only affect the internals, and _not_ the public API or external-facing docs scope: cache Related to the cache labels Jun 26, 2022
@ezolenko ezolenko merged commit 63a644a into ezolenko:master Jun 29, 2022
@agilgur5 agilgur5 deleted the clean-cache-unused-checkNewCache branch July 2, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: internal Changes only affect the internals, and _not_ the public API or external-facing docs scope: cache Related to the cache

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants