[英]Does Azure App Service gets unloaded if it makes HTTP Request every 1 minute?
i'm having a weird bug an i suspect that the Always On
could be the key to resolve the problem here.我有一个奇怪的错误,我怀疑Always On
可能是解决这里问题的关键。 According to the document here根据这里的文件
The app will get unloaded if there's no coming traffic to it.如果没有流量,该应用程序将被卸载。 Does it also get unloaded when i have a Hangfire background service attached to my service which perform a HTTP request to another service every 1 minute?当我有一个 Hangfire 后台服务附加到我的服务时,它是否也会被卸载,该服务每 1 分钟向另一个服务执行 HTTP 请求? I can't find it anywhere in the document since it states no incoming traffic
and doesn't mention anything about outcoming traffic
.我无法在文档中的任何地方找到它,因为它声明no incoming traffic
,也没有提及任何关于outcoming traffic
的信息。
One more question, do i need to restart my Azure App Service to apply the configuration when switching the Always On
from off
to on
?还有一个问题,当将Always On
从off
切换到on
时,我是否需要重新启动我的 Azure App Service 以应用配置?
Yes, Always On
should be set in order to work.是的,应该设置Always On
才能工作。 You have it also mentioned in the documentation https://docs.hangfire.io/en/latest/deployment-to-production/making-as.net-app-always-running.html您在文档https://docs.hangfire.io/en/latest/deployment-to-production/making-as.net-app-always-running.html中也提到了它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.