Cleaner way of converting days to seconds

This commit is contained in:
Isa S. 2024-11-21 18:17:09 +01:00
parent a0fba97d79
commit 1a47d339a8

View file

@ -362,7 +362,7 @@ namespace :mastodon do
q.convert :int
end
env['IP_RETENTION_PERIOD'] = (ip_retention_period_days * 86_400)
env['IP_RETENTION_PERIOD'] = ip_retention_period_days.days.to_i
prompt.say "\n"