mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-06 10:25:09 +01:00
Cleaner way of converting days to seconds
This commit is contained in:
parent
a0fba97d79
commit
1a47d339a8
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user