Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by tarek · Apr 18 at 10:01 AM · CloudScriptlimits

Triggered Azure functions execution time limit exceeded error

Hi,

We have noted that our triggered Azure functions are keep exceeding the execution time limit.

Note that some of these functions are simple and just calling one playfab API.

What is the suggested solution for this?

Thanks,

Tarek

Comment

People who like this

0 Show 2
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SethDu ♦ · Apr 19 at 01:35 AM 0
Share

May I know your title ID? I will look into it.

avatar image tarek SethDu ♦ · Apr 20 at 10:02 AM 0
Share

Title ID: C0DAE
I have done further investigation with my team regarding this issue:

  • We have noted that this time limit error happens only the first time this function is called during the day (cold start?).
  • These errors are not new to us, we knew about them before but ignored them because we have noted that although we get the time limit error the function would execute successfully, so there were no worries.
  • But though it rarely happens, we just recently noted that it sometimes does not execute successfully - that's why we decided to take action and submitted a question here in playfab community.

What about using the queue trigger type instead of HTTP type? would that solve it?

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Apr 21 at 02:44 AM

I have checked your title but as far as I can see that there aren't many errors in your title related to Cloud Script execution.

>> What about using the queue trigger type instead of HTTP type? would that solve it?

Yes, it will. Queued functions have a longer runtime limit.

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tarek · Apr 21 at 10:47 AM 0
Share

Then we will just convert the critical functions into queue triggers. Thanks SethDu

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    12 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Execute cloud script -function parameter 1 Answer

    How do data value update limits work? 1 Answer

    What is the execution time limit for a Cloud Script function called From a Task? 1 Answer

    Store Transform Data 0 Answers

    Best Practice for dealing with anomalous Automation cloud script timeout error 2 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges