Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The created time was changed to use microtime, I think the setMultiple patch was done at a similar time. This still uses request time though. We need to keep parity.
Proposed resolution
Make sure we use microtime() in doSetMultiple() too. This is not an issue for most other cache backends, as setMultiple often just iterates and calls set(). E.g. ApcuBackend.
Remaining tasks
patch, small amount of test coverage
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
d8.db_backend.setMultiple.microtime.patch | 1.66 KB | damiankloip | |
Comments
Comment #1
catchComment #2
alexpottCommitted a4f2506 and pushed to 8.x. Thanks!