I’ve noticed that when a user meets the conditions for levelling up, they don’t immediately level up and get the appropriate level badge.
I’d like to use an automated process to send users upgrade rewards with the action of earning a badge. But the delay makes this thing not perfect.
The badge was triggered immediately after I manually changed the user to the new level in the background.
Does anyone know how to fix it?
AI-generated summary
The discussion revolves around a delay in automatic trust level (TL) upgrades, particularly for TL3, despite users meeting the criteria. Rura notes that while TL1 and TL2 upgrades happen immediately, TL3 upgrades are delayed, affecting automated reward systems tied to badge events. NateDhaliwal suggests logging out and back in, but Rura confirms this doesn’t resolve the issue. ToddZ and Lilly explain that trust level promotions are scheduled jobs running once daily, with TL3 specifically handled by a scheduled job, as confirmed by the code link Lilly. Manual changes trigger immediate updates, but automation is limited by the daily job schedule.
What if the user logs out then logs back in? Does that help?
I’ve tested it with my account and it doesn’t work ![]()
I believe I read elsewhere that the automatic TL promotion job runs once a day. TL may be a fairly heavy calculation across several tables that’s not feasible to trigger upon every user interaction with the site.
Automatic trust level promotion jobs run every 24 hours.
If you change manually, then it should change right away.
Thanks for the reply, I understand. But it seems that upgrades to both TL1 and TL2 are triggered immediately, it’s just the TL3 upgrade that is experiencing the delay issue
Yea the TL_3 promotion specifically has a scheduled job