Track usage of media files and add a job to clean them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -58,7 +58,11 @@ defmodule Mobilizon do
|
||||
cachex_spec(:statistics, 10, 60, 60),
|
||||
cachex_spec(:config, 10, 60, 60),
|
||||
cachex_spec(:rich_media_cache, 10, 60, 60),
|
||||
cachex_spec(:activity_pub, 2500, 3, 15)
|
||||
cachex_spec(:activity_pub, 2500, 3, 15),
|
||||
%{
|
||||
id: :cache_key_value,
|
||||
start: {Cachex, :start_link, [:key_value]}
|
||||
}
|
||||
] ++
|
||||
task_children(@env)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user