Summary: | ASTERISK-03286: [PATCH] optimize module loading | ||
Reporter: | Kevin P. Fleming (kpfleming) | Labels: | |
Date Opened: | 2005-01-16 13:24:04.000-0600 | Date Closed: | 2008-01-15 15:22:04.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) load_resource_optimization_rev2.diff.txt | |
Description: | Currently ast_load_resource loads module.conf for every non-"res_" module, even though it is most frequently called during startup, when that file has already been loaded. This patch splits the function into two pieces, allowing the startup module loader to pass in the already-loaded cfg pointer. ****** ADDITIONAL INFORMATION ****** Disclaimer is on file. | ||
Comments: | By: Mark Spencer (markster) 2005-01-16 16:56:07.000-0600 Added to CVS, thanks! By: Russell Bryant (russell) 2005-01-16 18:30:29.000-0600 not in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:22:04.000-0600 Repository: asterisk Revision: 4814 U trunk/config.c U trunk/include/asterisk/config.h U trunk/include/asterisk/module.h U trunk/loader.c ------------------------------------------------------------------------ r4814 | markster | 2008-01-15 15:22:04 -0600 (Tue, 15 Jan 2008) | 2 lines Optimize module loading (bug ASTERISK-3286) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4814 |