# 批量授予的徽章不会立即显示在已获数量中

**URL:** <https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409>\
**Category:** Support\
**Tags:** badges\
**Created:** [2024年九月1日 19:24 UTC](https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409 "2024-09-01T19:24:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nwnuyhs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nwnuyhs/32/444904_2.png) [@nwnuyhs](https://meta.discourse.org/u/nwnuyhs)\
**Post date:** [2024年九月1日 19:24 UTC](https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409/1 "2024-09-01T19:24:21Z")

</div>

具体情况是，我通过后端从 Excel 文件导入了一批用户名，然后批量授予了徽章。  
然而，在 `https://mywebsite.com/badges/102/-` 页面上没有显示授予的数量。

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/e/7/0e7ba70219e7a5dbfad12a8d9b0d87d4e7ff6f55.png)

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年九月1日 19:50 UTC](https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409/2 "2024-09-01T19:50:55Z")

</div>

计数不会立即更新，而是由一个我认为每 12 小时运行一次的作业更新。

如果您可以访问 /sidekiq，您可以手动触发 `EnsureDbConsistency` 作业，或者只需等待几个小时。

---

<div class="post-metadata">

**Author:** ![nwnuyhs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nwnuyhs/32/444904_2.png) [@nwnuyhs](https://meta.discourse.org/u/nwnuyhs)\
**Post date:** [2024年九月1日 19:57 UTC](https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409/3 "2024-09-01T19:57:26Z")

</div>

感谢您的帮助。我尝试了您的方法，确实解决了问题。再次感谢。

---

<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:** [2024年十月1日 21:51 UTC](https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409/5 "2024-10-01T21:51:16Z")

</div>

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