# Badges granted in bulk are not immediately displayed in the awarded count

**URL:** <https://meta.discourse.org/t/badges-granted-in-bulk-are-not-immediately-displayed-in-the-awarded-count/324409>\
**Category:** Product Support\
**Tags:** badges\
**Created:** [September 1, 2024, 7:24pm 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

## AI-generated summary

[nwnuyhs](/t/-/324409/1) reported an issue where badge counts granted in bulk via the backend were not immediately updating on the badges page. [Moin](/t/-/324409/2) explained that the count is not updated in real-time but is refreshed by a scheduled job that typically runs every 12 hours. They suggested manually triggering the `EnsureDbConsistency` job via Sidekiq or waiting for the next scheduled run. [nwnuyhs](/t/-/324409/3) confirmed that this solution resolved the problem.

<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:** [September 1, 2024, 7:24pm 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>

The specific situation is that I used the backend to import a list of usernames from an Excel file and then granted badges in bulk.  
However, the awarded count is not displayed on the `https://mywebsite.com/badges/102/-` page.

 ![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:** [September 1, 2024, 7:50pm 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>

The count is not updated immediately but by a job which I think runs every 12 hours.

If you have access to /sidekiq, you can trigger the `EnsureDbConsistency` job manually, or you can just wait for a few hours.

---

<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:** [September 1, 2024, 7:57pm 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>

Thank you for your help. I tried your method, and it indeed solved the problem. Thanks again.

---

<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:** [October 1, 2024, 9:51pm 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>

Closed on October 1, 2024, 9:51pm UTC

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