tfa.cache.memcache is not using memory cache backend

Created on 25 January 2024, 5 months ago
Updated 17 February 2024, 4 months ago

Problem/Motivation

The tfa.cache.memcache serivce is not using the Memorry cache backend.

Due to tag name being wrong (should of been cache.bin) and the service not following the cache.cache_name_here naming format.

Steps to reproduce

$service=\Drupal::service('tfa.cache.memcache');
print_r($service);

Proposed resolution

Rename service. Consider adding an alias or replacing all references to the incorrect service name.

KernelTests use the memory cache backend by default, we should look at adding resiger() to a test to override and validate that the memory cache is actually used for this service.

Remaining tasks

User interface changes

None

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024