Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Do we stil need List::init_list_cache() ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Do we stil need List::init_list_cache() ?
  • Date: Wed, 13 Feb 2013 08:55:07 +0100

Hi Soji,

If updated config is reloaded anytime we call List::new, then we don't need to erase cache at each process loop.
So, when you say "yea", you do mean: "yes, we can delete the List::init_list_cache function", don't you?

regards,

David
Le 13/02/13 05:39, IKEDA Soji a écrit :
On Tue, 12 Feb 2013 16:06:37 +0100
David Verdin <address@concealed> wrote:

I wonder this because lists are now cached by robot objects and updated 
in memory anytime the list config is changed.
So do we still need to arease the list cache at each loop? After all, 
even if it makes memory usage increase, it is also a little costly to 
reload a list any time we need it.
Updated config is reloaded anytime List::new() is called.
So I'll say yea.

Regards,

-- Soji

Regards,

David
-- 
A bug in Sympa? Quick! To the bug tracker! 
<https://sourcesup.renater.fr/tracker/?atid=167&group_id=23&func=browse>
	David Verdin
Services Applicatifs aux Utilisateurs
Tel. +33 2 23 23 69 71
GIP RENATER <http://www.renater.fr>




--
A bug in Sympa? Quick! To the bug tracker!
David Verdin
Services Applicatifs aux Utilisateurs
Tel. +33 2 23 23 69 71
GIP RENATER

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page