Opened 12 years ago

Closed 12 years ago

#17287 closed Bug (fixed)

incr() on LocMemCache changes timeout value

Reported by: Ivan Virabyan Owned by: nobody
Component: Core (Cache system) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description


Attachments (1)

patch.diff (1.9 KB ) - added by Ivan Virabyan 12 years ago.

Download all attachments as: .zip

Change History (3)

by Ivan Virabyan, 12 years ago

Attachment: patch.diff added

comment:1 by Carl Meyer, 12 years ago

Triage Stage: UnreviewedReady for checkin

Yes, LocMemCache should match the behavior of the memcached backend, which does not modify expiry time on an incr/decr operation. Patch looks good, tests pass.

comment:2 by Carl Meyer, 12 years ago

Resolution: fixed
Status: newclosed

In [17151]:

Fixed #17287 -- Prevented LocMemCache.incr/decr from changing key expiry time. Thanks Ivan Virabyan for report and patch.

Note: See TracTickets for help on using tickets.
Back to Top