MemoryBackend cache->created should use millisecond precision

Created on 31 May 2014, about 10 years ago
Updated 5 November 2023, 7 months ago

Problem/Motivation

Discovered in #2273489-7: Random test failure 'Created time is correct.' in GenericCacheBackendUnitTestBase/ApcuBackendUnitTest that the memory backend is not using millisecond precision for the created time.

Proposed resolution

- Fix it.
- Add a test.
- Add a Cache::getTime() or something which wraps round(microtime(TRUE), 3)?

Steps to reproduce

Proposed resolution

Remaining tasks

Explain why this is needed. What problems does the current code cause?
Steps to reproduce

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component
Cache 

Last updated 2 days ago

Created by

🇫🇮Finland olli

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone New Zealand

    It is has been 11 months since more information was asked here and it has not been supplied. Since we need that to continue, I am closing this issue.

    If you would like this functionality open a new issue and reference this one. It will help to include why this precision is needed. Thanks

Production build 0.69.0 2024