Microsoft Bot Framework - Bot goes to sleep. Is there a way to prevent it?

后端 未结 1 341
囚心锁ツ
囚心锁ツ 2021-01-05 14:33

My bot based on the bot framework works pretty good. But when I first interact with the bot after a period of inactivity (let\'s say a day), then the bot seems to take very

相关标签:
1条回答
  • 2021-01-05 15:24

    If using Azure website, see "Always On Support"

    https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-configure

    Always On. By default, web apps are unloaded if they are idle for some period of time. This lets the system conserve resources. In Basic or Standard mode, you can enable Always On to keep the app loaded all the time. If your app runs continuous web jobs, you should enable Always On, or the web jobs may not run reliably.

    0 讨论(0)
提交回复
热议问题