I got this file of code here.
My code just runs fine over time without it, and when its running it starts producing memory leaks.
I tried for 2-3 days now to fix and can't find it.
It is supposed to check the status of every shard in the database and save it in the database. It always checks a maximum of 5 shards at the same time. I'm coding a discord bot with C# and ASP.NET
When you need more context to fix this kind of problem feel free to dm me please
Thanks