Posted by c960657 on April 29, 2011 at 9:01pm
4 followers
Jump to:
| Project: | Path redirect |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| update_last_used_interval-1.patch | 2.34 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 123 pass(es). | View details | Re-test |
Comments
#1
Subscribing.
#2
I have a related issue. Subscribing.
#3
@c960657
Thanks, it looks promising :)
#4
This patch helped me. With update policy once on half year, it simple purges all path_redirect queries out of my slow logs :)