tech(expires-user.cron): ajoute une tache cron [débrayable] pour faire tourner la tache de suppression des usagers inutile
attention, pour notre instance, avec ma db anonymiser : ``` ExpiredUsersDeletionService.find_expired_user.pluck(:id).size => 1795515 ```
This commit is contained in:
parent
a49a5c2c93
commit
252b3e4719
3 changed files with 31 additions and 1 deletions
|
@ -229,7 +229,7 @@ REDIS_CACHE_URL=""
|
|||
REDIS_CACHE_SSL="enabled"
|
||||
REDIS_CACHE_SSL_VERIFY_NONE="enabled"
|
||||
|
||||
# configuration for sidekiq's redis
|
||||
# configuration for sidekiq's redis
|
||||
# simple mode
|
||||
# that's all you need to do to conf your sidekiq on a local redis
|
||||
REDIS_URL="redis://localhost:6379"
|
||||
|
@ -253,3 +253,6 @@ BULK_EMAIL_QUEUE="low_priority"
|
|||
|
||||
# work in progress about attestation_v2
|
||||
WEASYPRINT_URL="http://10.33.23.204:5000/pdf"
|
||||
|
||||
# Use this env var to disable the user expiration mechanism
|
||||
EXPIRE_USER_DELETION_JOB_DISABLED=anything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue