bump never active to 90
This commit is contained in:
parent
574f229cee
commit
432f9d0b42
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ export default class {
|
||||||
|
|
||||||
async CleanupNeverActiveUsers() {
|
async CleanupNeverActiveUsers() {
|
||||||
this.log("Cleaning up never active users")
|
this.log("Cleaning up never active users")
|
||||||
const inactiveUsers = await this.storage.userStorage.GetInactiveUsers(30)
|
const inactiveUsers = await this.storage.userStorage.GetInactiveUsers(90)
|
||||||
const toDelete: { userId: string, appUserIds: string[] }[] = []
|
const toDelete: { userId: string, appUserIds: string[] }[] = []
|
||||||
for (const u of inactiveUsers) {
|
for (const u of inactiveUsers) {
|
||||||
const user = await this.storage.userStorage.GetUser(u.user_id)
|
const user = await this.storage.userStorage.GetUser(u.user_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue