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

Debounce adapter config option #280

Merged
merged 2 commits into from
Jun 9, 2023
Merged

Conversation

julianrubisch
Copy link
Contributor

Enhancement

Description

This allows to set a different debounce adapter than the built-in one, in preparation to building one with https://github.com/hopsoft/composite_cache_store/

Initially I wanted to move the MemoryCacheDebounceAdapter to lib/cable_ready/updatable/memory_cache_debounce_adapter.rb, but that again resulted in weird Zeitwerk issues when requiring it that led nowhere. That's why I opted into defining the default adapter in a config hook.

Eventually we'll want to move the whole updatable cod from app/ to lib/.

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing

@netlify
Copy link

netlify bot commented Jun 6, 2023

Deploy Preview for cableready ready!

Name Link
🔨 Latest commit feefbab
🔍 Latest deploy log https://app.netlify.com/sites/cableready/deploys/647ef34a4796fa000830cf09
😎 Deploy Preview https://deploy-preview-280--cableready.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@julianrubisch julianrubisch merged commit 9da5cfe into main Jun 9, 2023
@julianrubisch julianrubisch deleted the debounce-adapter-config-option branch June 9, 2023 14:20
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