ما هي أفضل طريقة لتشغيل UserStats لإعادة حساب عدد المنشورات المقروءة كما ذكرت؟ هل هناك أمر rake مدمج للقيام بذلك، أم توجد طريقة أخرى لاستدعائه؟
وعلى سبيل المثال، لست متأكدًا مما إذا كانت هذه المشكلة قد حُلّت بعد. أنا أقوم حاليًا باختبار عملية استيراد، وقاعدة البيانات كاملة لا يزيد عمرها عن بضعة أيام. ومع ذلك، يخبرني النظام أنني قرأت 36 ألف منشور. صحيح أنني كنت أتحقق من المنشورات بحثًا عن أخطاء، لكنني أعدك أنني لم “أقرأ” 36 ألف منشور.
The import script is marking everything imported as read. If the source data has a way to indicate which posts you’ve read, then the import script could be improved.
I’m not sure that’s the case in this instance. This particular database has far more than 36k posts. I don’t think the import script is loading in any “read” stats actually. Other members show nothing, but my account has been browsing and should show some topics read.