Add garbage collecting tasks.
commite72cf3382bb7834ea95ddc44c5b9616150973f4c
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
Wed, 28 Feb 2018 21:21:39 +0000 (28 22:21 +0100)
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
Tue, 20 Mar 2018 12:41:54 +0000 (20 13:41 +0100)
tree6db5a83b5bacb04619e4cf81d8dfd08596ca2213
parent674c47bc2cedf71f7f52ce07052fed8c0c3578d6
Add garbage collecting tasks.

New environment variables:

  ECS_PARTICIPANTS_TTL_SUB: Number of days created before garbage collected
  ECS_PARTICIPANTS_TTL_ANONYMOUS: Number of days created before garbage collected
config/ecs_config.yml
config/initializers/ecs_00.rb
lib/tasks/ecs_garbage_collect_anonymous_participants.rake [copied from config/initializers/ecs_00.rb with 52% similarity]
lib/tasks/ecs_garbage_collect_auths.rake [copied from config/initializers/ecs_00.rb with 52% similarity]
lib/tasks/ecs_garbage_collect_sub_participants.rake [copied from config/initializers/ecs_00.rb with 52% similarity]