Hi,
it's fairly easy to gift every player via a scheduled task and a custom cloud script, but how do I gift every character of all players?
I want to implement a system to give special gifts (e.g. New Years Event) to all characters. I tried using a custom cloud script and iterated through all characters but this exceeds the API request limit of 5.
Is there a proper workaround?
Thanks in advance.
Best
Answer by SethDu · Sep 30, 2021 at 08:47 AM
Event triggered Cloud Script Functions have 1 second runtime and 5 API calls limit, which is by design and cannot be increased. If there are specific requirements on this task, you may consider implementing Queued Azure Function, and it can run far longer (up to the Azure limit of 5 minutes). Though there is no end-to-end tutorial showing the implementation of Queued Azure Function, it is similar to HTTP triggered Azure Function , and please also refer to Azure Queue storage trigger for Azure Functions | Microsoft Docs