I have a watcher that runs every 5 sec and get records of last 6 sec. So, there are cases in which i get the docs in the hit which were also present in previous hits. How can I resolve this redundancy? Thank you.
Asked
Active
Viewed 35 times
1
-
Do the documents have an id? – dcolazin Jan 25 '22 at 09:38
-
yes @dcolazin they have id. – Aman Sharma Jan 25 '22 at 09:53
-
Please provide enough code so others can better understand or reproduce the problem. – Community Feb 03 '22 at 08:51