Skip to content

feat: remove redis ping#99

Closed
ville wants to merge 2 commits into
masterfrom
feature/remove-redis-ping
Closed

feat: remove redis ping#99
ville wants to merge 2 commits into
masterfrom
feature/remove-redis-ping

Conversation

@ville

@ville ville commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

Rationale

No need to make extra ping call

Changes

Removed ping call

TODO

  • Update CHANGELOG.md

@ville ville self-assigned this Jun 19, 2025
@suchov suchov requested a review from Copilot July 3, 2025 17:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Removes an unnecessary Redis ping call at adapter initialization and cleans up the related test.

  • Eliminated the initial self.client.ping() invocation from DeprecatedRedisAdapter.__init__
  • Removed the test_init_connect_exc test and its Redis import in tests/unit/state/test_redis_adapter.py
  • TODO reminder to update CHANGELOG.md

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/corva/cache_adapter.py Removed initial self.client.ping() call from the constructor
tests/unit/state/test_redis_adapter.py Deleted the test_init_connect_exc function and unused Redis import
Comments suppressed due to low confidence (1)

src/corva/cache_adapter.py:262

  • Update the docstring of DeprecatedRedisAdapter.__init__ to note that it no longer performs a connectivity check at instantiation.
    def __init__(

@suchov

suchov commented Jul 3, 2025

Copy link
Copy Markdown
Member

@ville what do you think about Copilot suggestions to remove intial self.client.ping() call form the constructor and delete test_init_connect_exc ?

@kossman

kossman commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

Changes will be release as part of that PR

@kossman kossman closed this Sep 24, 2025
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.

6 participants