Command Function lag - After 2 hours

Okay so, this lag only happens after 2 hours, (this was fine yesterday, server was up for 6 hours without any lag, 19-20tps. i didnt change anything with the datapacks) It starts where entity count slowly but eventually rapidly builds up and multiplies to 2k, one time it went to 10k. This time there was only 4-5 players online.

I know that a datapack is most likely at fault, but i wanna know why (and potentially a fix) because this never, and i mean never at all happened yesterday. I repeat that no changes regarding datapacks were applied today.

Timings report: https://timings.aikar.co/dev/?id=5d983316b2cb4d479b63cb8a2340fe43
Aikar's Timings Viewer - View Timings v2 reports from Paper and Sponge
Was this page helpful?