Unwanted collections.Find() every 30s

Hi !

I’m building a Go app using the mongo driver (v1.17.2) and it seems that it sends a collection.Find() on two of my 3 collections every 30s, but I don’t know why… I tried to disable the heartbeat and a couple of things but no way to stop these queries.

Thanks for your help.

Please :pray:
I need jour help :slight_smile:

Hi @Boris_Jamot, could you please share your code that may be relevant to this problem?

Thanks for your support Julia, after a troubleshooting session I managed to understand the reason of these unwanted queries. A team mate has added metrics that are using mongo queries to gather the data. I feel ashamed that this was so simple…

Anyway, thanks again and have a nice day !

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.