Hi Romain,
You’re right, we’ll need more data to figure this out. I’d suggest as a first point that this function has a couple of profile markers added.
If you add one in the 3 scoped blocks I’ve added
[Image Removed]
That should be enough to narrow down if there is a lock hiding somewhere, or if the operation itself is taking ages.
If you could do that and resend to me, we can go from there.
Geoff