|
|
@ -9,7 +9,7 @@ class Scheduler::SuspendedUserCleanupScheduler
|
|
|
|
MAX_PULL_SIZE = 50
|
|
|
|
MAX_PULL_SIZE = 50
|
|
|
|
|
|
|
|
|
|
|
|
# Since account deletion is very expensive, we want to avoid
|
|
|
|
# Since account deletion is very expensive, we want to avoid
|
|
|
|
# overloading the server by queing too much at once.
|
|
|
|
# overloading the server by queuing too much at once.
|
|
|
|
# This job runs approximately once per 2 minutes, so with a
|
|
|
|
# This job runs approximately once per 2 minutes, so with a
|
|
|
|
# value of `MAX_DELETIONS_PER_JOB` of 10, a server can
|
|
|
|
# value of `MAX_DELETIONS_PER_JOB` of 10, a server can
|
|
|
|
# handle the deletion of 7200 accounts per day, provided it
|
|
|
|
# handle the deletion of 7200 accounts per day, provided it
|
|
|
|