Gun in browser is losing events when watching a timeGraph node
Simple scenario: 3 browsers, A, B, and C and two SuperPeers accesible in internet
- A is generating documents, by hand, one at 4 - 5 seconds and add events to the timeGraph node
- All browsers, A, B and C are watching the same timeGraph node
- at 10-15 events added, one of the browsers (even A) is losing the event, sometimes both B and C
Tested with all three browsers in the same network (wifi behind router with NAT) and then with C browser on mobile, on 3G data. They act the same way. Added cdn.jsdelivr.net/npm/gun/nts.js , no success, still missing events. Verified all servers and desktop involved in testing, ntpd enable, all time synchronized! Tested with two super-peers, then only with one. I've tested also with Google Chrome and Firefox (both latest version) both are missing events in time log, one at 10-15 events successfully added! The missing events ARE SAVED in Gun, when I'm reloading the page, I found them there, in the timeGraph node when I subscribe with 10-15 older events.
Teo
Can confirm. This simple listener is doing the exact same thing for me:
channel.time((data) => {
gun.get(data).once((node) => {
console.log(node.message)
})
})
It fails to fire on every 4th or 5th message.