hosna
(hosna)
2020 年 7 月 3 日午前 5:17
1
I realized that many of my inactive users has not been cleaned yet. So I checked those users and the code.
Those users dont have any time for last_seen_at. So I think in the following line:
https://github.com/discourse/discourse/blob/master/app/jobs/scheduled/clean_up_inactive_users.rb#L14
they are not detected and cleaned. Am I right? And what can I do?
How did those users get created?
hosna
(hosna)
2020 年 7 月 3 日午後 2:36
3
I think they are created via api and never actually see the forum.
sam
(Sam Saffron)
2020 年 7 月 6 日午前 8:09
4
Yes this job is certainly not going to touch these outlier records, I guess maybe update them to have last_seen_at
「いいね!」 1
hosna
(hosna)
2020 年 7 月 7 日午前 11:39
5
Is there a console command to add a default last_seen_at value?