Hello,
I need a bit of help. So, recently one of my team members was playing my game, and he ran into an Execution took too long on one of the Cloudscript function. Also, once I was testing and I ran into an Execution took too long on another Cloudscript function.
For the first case, the average execution time is around 0.7 seconds usually, and there is not much random. The max times it can call a playfab server method is 9 times.
For the second case, I don't know the average execution time but it must be very small because it only calls one server method (GetInventory) and then iterates through the inventory to find a specific item.
I cannot seem to replicate the bug, and the game is only in test right now. So, with all this, I have three questions:
1.) I'm in free mode so is it possible that sometimes cloudscripts will take too long because I haven't upgraded my tier yet?
2.) As users increase, will the times of cloudscripts also increase and will I have to account for this?
3.) Do cloudscripts take longer at certain times due to how many people are using playfab or something?
I don't know this bug is confusing me, and I have no idea where to start in testing it or how to improve my code.
Thanks a lot for any help,
Dhruv