Subject: Developers of Sympa
List archive
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-dev] member count
- Date: Fri, 12 Mar 2010 15:34:41 +0100
No idea. What do you mean by "often"? Is it after a period during which the list remained inactive?
I never observed such a behaviour. Maybe I don't manage large enough lists.
Using the "nocache" is supposed to give you the subscribers count. Does it return a value or undef? If it is undef, it could mean that you have tyroubles connectig to the database.
Regards,
David
Le 09/03/2010 19:09, Thomas Berry a écrit :
We synchronize the list members--those that aren't self-subscribed--of our lists with LDAP. Often, when checking the member total for a list, the count returns 0. Although, when a list of member email addresses is retrieved, the list has over 7000 members.
The count can be restored if a refresh of the list (with its source) is initiated. But, for lists as large as this, it is not practical to do this every time the count is zero.
I've been using the List.pm method get_total.
my $list = List->new($listname, $robot);
my $total = $list->get_total();
printf "$listname has $total members\n";
I've also tried using the "nocache" option, but that returns no value.
I looked at the Sympa 6.0 code, and the method hasn't changed.
Any ideas?
--
David Verdin
Comité réseau des universités
-
[sympa-dev] member count,
Thomas Berry, 03/09/2010
-
Re: [sympa-dev] member count,
David Verdin, 03/12/2010
- Re: [sympa-dev] member count, Thomas Berry, 03/12/2010
-
Re: [sympa-dev] member count,
David Verdin, 03/12/2010
Archive powered by MHonArc 2.6.19+.