question

Raf avatar image
Raf asked

We're suddenly getting a high amount of TimeLimitExceeded errors from various users/API calls. Any idea why?

Hi there,

We suddenly started experiencing random long execution times (10+ secs) and CloudScriptAzureFunctionsExecutionTimeLimitExceeded errors from a variety of players on the API calls below, to mention a few:

  • /Server/AddUserVirtualCurrency
  • /Server/GrantItemsToUser
  • /Server/UpdatePlayerStatistics
  • /Server/SubtractUserVirtualCurrency

Could this be caused by any sort of throttling on PlayFab's end? I've checked https://status.playfab.com/ and all operations look fine.

Worth mentioning that the errors started occurring without any server changes on our end.

Our title: 2144

Player DataapisCloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

You can debug your CloudScript using Azure Functions in the Azure portal refer to Debugging CloudScript using Azure Functions in the Azure portal - PlayFab | Microsoft Docs. Since we have 10 seconds execution limits, you may check how long it took to execute the function in the Log Streaming page.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.