Needs review
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 21:01 UTC
Updated:
16 Dec 2011 at 07:35 UTC
For performance reasons one might not want to update {path_redirect.}last_used every time a redirect is hit. If automatic purging is disabled, one might not want to update it at all.
With this patch the field is only updated once per X seconds using a logic similar to the one in sess_write() in includes/session.inc.
| Comment | File | Size | Author |
|---|---|---|---|
| update_last_used_interval-1.patch | 2.34 KB | c960657 |
Comments
Comment #1
wim leersSubscribing.
Comment #2
revnoah commentedI have a related issue. Subscribing.
Comment #3
jsobiecki commented@c960657
Thanks, it looks promising :)
Comment #4
jsobiecki commentedThis patch helped me. With update policy once on half year, it simple purges all path_redirect queries out of my slow logs :)