[Network] [snapshot] Inbox being filled and emptied


Yesterday I was checking out the network binding, however I observed something really strange imho, it seems that after the discovery is finished the complete inbox is being emptied again.

During discovery I see things popping up, more less like I would expect.

But suddenly this list starts shrinking again until in the end all network items are removed from the inbox, I can observe the removing from the events.log but have no idea why. The only thing I found when looking at the code is that old results are removed before a new scan starts, but checking the log carefully no new scan is started.

Do other people observe the same behaviour?



I’m running a docker with the snapshot of 201709240307

That’s intended. Because the network binding causes a mess in the inbox, politely spoken, all entries have a TTL.

Cheers David

It seems really short time to respond, as soon as it is ready (a lot of docker networks) it starts deleting the first ones. Would a timeout of 10 minutes or half an hour sound reasonable to you?

Yes 10min or so should do it. I would like it if paperui would show an indicator about when an item will be pruned.

See PR in https://github.com/openhab/openhab2-addons/pull/2773

I created an issue for that https://github.com/eclipse/smarthome/issues/4391

According to @Kai the TTL was not intended for this, so I opened an issue https://github.com/openhab/openhab2-addons/issues/2776 feel free to suggest anything there.