[ejabberd] pubsub_item.DAT getting big

Eric Cestari eric at ohmforce.com
Thu Oct 2 17:57:31 MSD 2008

Le 2 oct. 08 à 15:00, Eric Cestari a écrit :
> I wasn't able to reproduce, because I was the only one publishing on  
> the node.
> I haven't tested that theory yet though.

I have tested, and indeed, max_items is actually applied *per  
publisher* on a node.
Attached is a small patch correcting the problem.
It was not thouroughly tested. It does what asked, but might break  
other things as it does not synchronize the items array in pubsub_state.

I hope this helps.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_items.diff
Type: application/octet-stream
Size: 715 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20081002/b149ab10/attachment.obj>
-------------- next part --------------

More information about the ejabberd mailing list