You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
call $self->_cache_get('edit_list_conf') in Sympa/List.pm, get cached HASH reference when edit_list.conf is not updated.
I mean edit_list.conf's mtime is not change.
Actual behavior
Every time returned undef from _cache_get function. Then repeat open file unexpectedly often.
Additional information
File's mtime when last time read.
my $lasttime = $self->{_mtime}{$type};
File's mtime just now.
$mtime = $self->_cache_read_expiry($type);
``
If the file is not updated since last opened(usual case) $lasttime and $mtime are same, then returned undef instead of cached data.
return undef if $lasttime <= $mtime;
The text was updated successfully, but these errors were encountered:
Thank you for inform and rightly guessed what I mean.
Yes, my actual problem was reading edit_list.conf takes too long.
I just checked _cache_get function is not fixed yet on version 6.2.63b before post.
Now I reallized totally fixed this problem by updating _load_edit_list_conf, may_edit etc.
And I understand current cache mechanism will be gone.
Version
6.2.60
Installation method
yum install from epel
Expected behavior
call $self->_cache_get('edit_list_conf') in Sympa/List.pm, get cached HASH reference when edit_list.conf is not updated.
I mean edit_list.conf's mtime is not change.
Actual behavior
Every time returned undef from _cache_get function. Then repeat open file unexpectedly often.
Additional information
File's mtime when last time read.
File's mtime just now.
The text was updated successfully, but these errors were encountered: