Menu

#8 Lemonldap::Config::Parameters : IPC Key

open
nobody
None
5
2005-04-25
2005-04-25
No

Hello,

in XML configuration, you have this chapter :
<cache id="CONF" ConfigIpcKey="IPCK" ConfigTtl="100">
</cache>

I think there is a confusion between the id and the
ConfigIpcKey.

You use the id in the constructor of
Lemonldap::Config::parameters, what is good. But when
you use the IPC cache, you bind the cache with the id
(here CONF) and no with the IpcKey (here IPCK).

To be logical, you have to get the IpcKey in the
_readFile subroutine, as you read the Ttl parameter.
The value must next be used to tie the IPC cache in the
_getFromCache subroutine.

regards,

Clément OUDOT
LINAGORA

Discussion


Log in to post a comment.

MongoDB Logo MongoDB