Commit fa17d471 authored by catch's avatar catch

Issue #2259823 by beejeebus, Wim Leers: Make cache->created be to the millisecond.

parent e3f9173e
......@@ -189,7 +189,7 @@ protected function prepareItem($cache, $allow_invalid) {
public function set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = array()) {
$cache = new \stdClass();
$cache->cid = $cid;
$cache->created = REQUEST_TIME;
$cache->created = round(microtime(TRUE), 3);
$cache->expire = $expire;
$cache->tags = implode(' ', $this->flattenTags($tags));
$checksum = $this->checksumTags($tags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment