# 升级昨天之后，我的站点打开需要50秒（然后表现正常）

**URL:** <https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515>\
**Category:** Support\
**Created:** [2024年十二月10日 05:03 UTC](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515 "2024-12-10T05:03:06Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2024年十二月17日 15:39 UTC](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515/22 "2024-12-17T15:39:13Z")

</div>

`PostSentimentAnalysis` 和 `GenerateEmbeddings` 与 Discourse AI 相关。也许您的配置不正确，或者它不支持印地语？

您能否分享更多错误日志？

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2024年十二月17日 17:12 UTC](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515/24 "2024-12-17T17:12:23Z")

</div>

失败的 AI 后台作业不会影响您的网站加载速度。话虽如此，由于您没有功能性的后端来支持情感分析和嵌入模块，最好在 AI 插件中禁用这两个模块。

至于 OP 中的主要问题，页面加载缓慢，您需要按照 @Ed_S 的建议启用 mini profiler。

---

<div class="post-metadata">

**Author:** ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)\
**Post date:** [2024年十二月18日 04:49 UTC](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515/25 "2024-12-18T04:49:23Z")

</div>

你们真是太棒了。我忍不住想，为了能够远程诊断数千用户的各种问题，你们在设计这款产品时付出了多少心血，仅仅通过几张截图就能做到。\n\n[quote="Falco, post:24, topic:341515, username:Falco"]\n至于 OP 中的主要问题，页面加载缓慢，你需要启用 mini profiler\n[/quote]\n\n在我看来，导致_ **加载缓慢** _的罪魁祸首是“embeddings”，占了 80%，而“Sentiment”分析占了 20% 左右。因为我还没有理解/处理“Mini Profiler”。\n\n再次感谢。\n\n\n虽然我仍然认为为什么它只在_那天_更新后才出现。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2025年一月17日 04:49 UTC](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515/26 "2025-01-17T04:49:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[上一頁](https://meta.discourse.org/t/after-yesterdays-upgrade-my-site-is-taking-50-seconds-to-open-and-then-behaves-normally/341515.md?page=1)
