mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-07 19:05:08 +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
|
q.convert :int
|
||||||
end
|
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"
|
prompt.say "\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user