objectcache: Fixes WinCache increment losing TTL.
authorJuan Osorio <osorio.juan@microsoft.com>
Thu, 13 Dec 2018 19:31:17 +0000 (11:31 -0800)
committerJuan Osorio <osorio.juan@microsoft.com>
Thu, 13 Dec 2018 22:36:06 +0000 (14:36 -0800)
commit7572c9097aea029d8e663cf782a89be95e268e92
tree22a1db227748f21e576246643b7ef5e0475db73e
parent2d5af67fb693387abcd62fbd173a69680f725136
objectcache: Fixes WinCache increment losing TTL.

WinCache incr function adds a number to the value of a key, but
in the process loses the Time To Live of the cache entry. This
fixes such bug.

Bug: T211914
Change-Id: I02889e63b95188b8d5123a9788a020ca3aa7d1b1
includes/libs/objectcache/WinCacheBagOStuff.php