PubSub: Multiple items on a node?

Hi all,

Playing with pubsub and have run into an issue: If i publish an item to a pubsub node, then publish another one from a different connection, only the last seems to ever be available when I request the list of items on the node. This happens using system- or user- generated item ids, and I’ve set persist_items=1 in the node configuration.

What am i missing?


Ok, so if pubsub#max_items is set to -1 (the default) for the node, it actually means 1. Which is a little non-intuitive - I’d imagine -1 would be “unlimited”. FWIW, 0 means 0, and >0 does what you’d expect.

Sounds like a bug. Opinions?