Skip to content

Add a check for SolidCache - #15

Merged
emmahsax merged 2 commits into
okcomputer-ruby:mainfrom
ironridgeinc:solid_cache_check
Feb 7, 2025
Merged

Add a check for SolidCache#15
emmahsax merged 2 commits into
okcomputer-ruby:mainfrom
ironridgeinc:solid_cache_check

Conversation

@stevenchanin

Copy link
Copy Markdown
Contributor

The stats returned by SolidCache are different from MemCache, so the existing check was failing.

Before we were seeing:

Default Collection
  cache: FAILED Error: 'undefined method `[]' for nil' (0.009s)

now we get

Default Collection
  cache: PASSED Cache is available (entries: 46/268435456, oldest: 331h, max: 1440h, 1 connections) (0.007s)

The stats returned by SolidCache are different from MemCache, so the
existing check was failing.
@emmahsax

emmahsax commented Feb 6, 2025

Copy link
Copy Markdown
Member

@stevenchanin All tests passed! Would you like to add something to the CHANGELOG.markdown? Something like this to lines 2-3 (but feel free to change the description text):

* Add a check for SolidCache cache check
  > stevenchanin: https://github.com/emmahsax/okcomputer/pull/15

In a few days, if I don't hear back, I'll just merge the PR and update the file with that above text after merge.

@emmahsax
emmahsax merged commit 8d572f7 into okcomputer-ruby:main Feb 7, 2025
@emmahsax

emmahsax commented Feb 7, 2025

Copy link
Copy Markdown
Member

Thank you for the contribution! Your change will be in v1.19.0 when it's released! Hopefully that'll happen in the next month for sure.

@stevenchanin

Copy link
Copy Markdown
Contributor Author

You're very welcome. Thank YOU for resuscitating the gem and moving it forward!

@emmahsax

Copy link
Copy Markdown
Member

v1.19.0 has officially been released with this change!

@stevenchanin
stevenchanin deleted the solid_cache_check branch June 3, 2026 01:00
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