Skip to Content.
Sympa Menu

en - Re: [sympa-users] custom condition cache location

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] custom condition cache location
  • Date: Tue, 10 Mar 2020 21:38:03 +0100

On 3/10/20 8:10 PM, Stephen Jarjoura wrote:
> Hello, All;
>
> On this documentation page, Authorization Scenarios
> <https://sympa-community.github.io/manual/customize/basics-scenarios.html>,
> under "Search condition" is the following
> paragraph.
>
> Note that Sympa processes maintain a //___cache of processed search
> conditions_ to limit access to the LDAP
> directory or SQL server; each entry has a _lifetime of one hour_ in the
> cache.
>
> /(emphasis added)/
>
> Where are these cache's? Are they files in the file system or rows in a
> database table? How do I clear the cache?
>

Hello Stephen,

Looking at the source code (Sympa::Scenario, search for persistent_cache)
leads me to the conclusion that the results
are cached in memory.

So the only way to clear this cache seems to restart Sympa.

Regards
Racke

> Thank you!
>
> --
> Stephen A. Jarjoura
> Collaborative Services, ITS
> Boston College
> (e) address@concealed <mailto:address@concealed>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page