Skip to content

Comments

Debounce adapter config option#280

Merged
julianrubisch merged 2 commits intomainfrom
debounce-adapter-config-option
Jun 9, 2023
Merged

Debounce adapter config option#280
julianrubisch merged 2 commits intomainfrom
debounce-adapter-config-option

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

@julianrubisch julianrubisch requested a review from hopsoft June 6, 2023 08:50
@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