[OpenSIPS-Devel] SF.net SVN: opensips:[7800] trunk/modules/presence

Ovidiu Sas osas at voipembedded.com
Wed Mar 16 16:08:53 CET 2011


With commit 7812 the records are deleted from the db.

Thanks,
Ovidiu

On Wed, Mar 16, 2011 at 7:24 AM, Anca Vamanu <anca at opensips.org> wrote:
> Hi Ovidiu,
>
> I have ported the changes in presence module from a older 1.6 version and it
> seems I have forgotten some lines - exactly the ones when the record was
> deleted from hash table. I have now checked and everything is on svn trunk.
> Please update your code and check again. If the problem you reported
> persists, let me know.
>
> Regards,
> Anca
>
> On 03/15/2011 09:40 PM, Ovidiu Sas wrote:
>>
>> Expired presentity records are no longer deleted from the db.
>> If there are expired presentity records in the db, during init, those
>> records are retrieved from the db but not inserted into the phtable
>> (silently discarded by pres_htable_restore() ).
>> Later on, during the timer check, the expired records are searched
>> into the phtable (but the records are not there) and as a result, not
>> deleted.
>>
>>
>> On Mon, Mar 14, 2011 at 8:40 AM, Anca Vamanu<anca at opensips.org>  wrote:
>>>
>>> Revision: 7800
>>>          http://opensips.svn.sourceforge.net/opensips/?rev=7800&view=rev
>>> Author:   anca_vamanu
>>> Date:     2011-03-14 12:40:28 +0000 (Mon, 14 Mar 2011)
>>>
>>> Log Message:
>>> -----------
>>> - performance improvements in presence module
>>>        - use the info stored in memory to check if a Publish entry exists
>>>        - eliminate unnecessary memory allocations
>>>
>>> Modified Paths:
>>> --------------
>>>    trunk/modules/presence/hash.c
>>>    trunk/modules/presence/hash.h
>>>    trunk/modules/presence/notify.c
>>>    trunk/modules/presence/notify.h
>>>    trunk/modules/presence/presentity.c
>>>    trunk/modules/presence/presentity.h
>>>    trunk/modules/presence/publish.c
>>>    trunk/modules/presence/subscribe.c
>>>
>>>
>>> This was sent by the SourceForge.net collaborative development platform,
>>> the world's largest Open Source development site.
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>
>
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>



More information about the Devel mailing list