forgejo-federation/services/cron
Gusted 61f939359d
Use a better OlderThan for DeleteInactiveUsers (#19693)
* Use a better OlderThan for DeleteInactiveUsers

- Currently the OlderThan is zero, for instances that enable or run this
task this could actually delete just new users that still need to
confirm their email. This patch fixes that by setting the default to the
`ActiveCodeLives` setting, which corresponds to the amount of time that
a user can active their account, thus avoiding the issue of deleting
unactivated email users.

* Use correct duration
2022-05-13 14:49:22 +02:00
..
cron.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
setting.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00
tasks.go Show last cron messages on monitor page (#19223) 2022-03-29 02:31:07 +01:00
tasks_basic.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
tasks_extended.go Use a better OlderThan for DeleteInactiveUsers (#19693) 2022-05-13 14:49:22 +02:00