Summary: | ASTERISK-12998: [patch] clearing expired entries from /dundi/cache | ||
Reporter: | adomjan (adomjan) | Labels: | |
Date Opened: | 2008-10-31 09:05:14 | Date Closed: | 2008-12-11 16:45:00.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_dundi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) dundi_clearecache3.diff ( 1) pbx_dundi.c-clearcache.patch | |
Description: | Dudndi didn't clear the expired entries from ast_db. The size of the db is just increased, increased (with many numbers you call only 1times/100Y :) ) The new process_clearcache thread are checking the database and clear the expired entries. I think it is not feature, it's fix a database leak. | ||
Comments: | By: Leif Madsen (lmadsen) 2008-11-19 16:02:53.000-0600 Assigned this one to mnicholson because I think this one should be pretty straight forward. Feel free to use reviewboard if you feel it makes sense. Thanks! By: Matthew Nicholson (mnicholson) 2008-11-21 13:42:22.000-0600 Posted a modified patch for review. http://reviewboard.digium.com/r/63/ By: adomjan (adomjan) 2008-11-21 13:50:41.000-0600 you right, I wrote some unnecessary lines, btw I will test the modified patch too By: Digium Subversion (svnbot) 2008-12-11 16:44:59.000-0600 Repository: asterisk Revision: 163316 U branches/1.4/pbx/pbx_dundi.c ------------------------------------------------------------------------ r163316 | mnicholson | 2008-12-11 16:44:59 -0600 (Thu, 11 Dec 2008) | 9 lines Clean up the dundi cache every 5 minutes. (closes issue ASTERISK-12998) Reported by: adomjan Patches: pbx_dundi.c-clearcache.patch uploaded by adomjan (license 487) dundi_clearecache3.diff uploaded by mnicholson (license 96) Tested by: adomjan ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=163316 |